Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 608 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 608 Bytes

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

  1. Make sure that you have docker installed on your machine.
  2. Make sure you have a docker-compose and docker cli installed

Run webserver

docker-compose up

License

MIT