Skip to content

A simple example of express server with mongo and redis

Notifications You must be signed in to change notification settings

haimrait/node-redis-mongo

Repository files navigation

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

About

A simple example of express server with mongo and redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published