Make sure to follow the order when creating the containers! Note: bat files only work on windows]
Run docker network create --driver bridge final-assignment
to create a docker network called final-assignment
To create and run the mongo container, run ./rmongo.bat
To inspect the mongodb, run
docker exec -it mongo-server /bin/bash
on the terminalmongosh --username root --password password --authenticationDatabase admin
use Tarpaulin
You should now be able to inspect the MongoDb collections
To create and run the redis server, run ./rredis.bat
Install dependencies with npm install
On the terminal, run npm start
On a different terminal, run npm run initdb
to initialize the db