Skip to content

Server for implementation of various functionalities of Redis

License

Notifications You must be signed in to change notification settings

mohit61/redis-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-unacademy

Server for basic implementation of Redis

Installation

  • Clone the repo locally using git clone https://github.com/mohit61/redis-unacademy.git
  • Go the the directory cd redis-unacademy
  • Install the dependencies using npm install
  • Start the server using node index.js

Deployed Server

  • The Server is deployed using heroku. This is the endpoint for the api of the server.

  • Below is the structure of various endpoints that it provides :

GET - https://redis-unacademy.herokuapp.com/getValue/${name_of_key}

SET - https://redis-unacademy.herokuapp.com/setValue (the body contains the key-value pairs to be added)

CHECK - https://redis-unacademy.herokuapp.com/checkKey/${name_of_key}

EXPIRE - https://redis-unacademy.herokuapp.com/exp/${name_of_key}/${time}

TTL - https://redis-unacademy.herokuapp.com/rem/${name_of_key}

DELETE - https://redis-unacademy.herokuapp.com/delKey/${name_of_key}

ZADD - https://redis-unacademy.herokuapp.com/zadd/${name_of_set}/${name_of_key}/${score}

ZRANK - https://redis-unacademy.herokuapp.com/rank/${name_of_set}/${name_of_key}

ZRANGE - https://redis-unacademy.herokuapp.com/zrange/${name_of_set}/${start_index}/${stop_index}/${true/false_value_for_withscores}

About

Server for implementation of various functionalities of Redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published