This app returns the number of repositories a Github account has. When you first search for an account, the server calls Github's API to return the response. This can take some time. The server then adds the details of this slow response to Redis for future requests. When you search again, the next response comes directly from Redis cache instead of calling Github. The responses become much faster.
brew install node
git clone https://github.com/redis-developer/basic-caching-demo-nodejs
- REDIS_ENDPOINT_URI: Redis server URI
- REDIS_PASSWORD: Password to the server
cd client
yarn
yarn serve
yarn
yarn start
Open up https://localhost:8081 and you can see a basic caching demo application up and running.