Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 608 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 608 Bytes

Caching-in-Nodejs-using-Redis

Caching in Node js is implemented using Redis. This is the simple project which is using the Phenomena of caching.

To run this project

  • Clone the repo
  • I have committed package-lock.json and package.json so just run the command npm i .It will install all the dependencies
  • Make sure you have redis install locally to install redis
    • sudo add-apt-repository ppa:redislabs/redis
    • sudo apt-get update
    • sudo apt-get install redis
  • Now run redis cli using redis-cli
  • At last run npm run start. Now make the request throught browser on the endpoint