node-redis-mongo
node-redis-mongo copied to clipboard
A simple example of express server with mongo and redis
node-redis-mongo
A simple example of an express server with mongo, mongoose and Redis.
more information in my blog post: https://medium.com/@haimrait/how-to-add-a-redis-cache-layer-to-mongoose-in-node-js-a9729181ad69
Installation
git clone https://github.com/haimrait/node-redis-mongo.git
cd node-redis-mongo
docker-compose build
Prerun configuration
- Make sure that you have docker installed on your machine.
- Make sure you have a docker-compose and docker cli installed
Run webserver
docker-compose up