Skip to content

osu-cs493-sp23/Tarapaulin-API-Team6

Repository files navigation

Open in Codespaces

Set up

Make sure to follow the order when creating the containers! Note: bat files only work on windows]

Create a Docker network

Run docker network create --driver bridge final-assignment to create a docker network called final-assignment

Set up MongoDb

To create and run the mongo container, run ./rmongo.bat

Inspect MongoDB

To inspect the mongodb, run

  1. docker exec -it mongo-server /bin/bash on the terminal
  2. mongosh --username root --password password --authenticationDatabase admin
  3. use Tarpaulin

You should now be able to inspect the MongoDb collections

Set up Redis

To create and run the redis server, run ./rredis.bat

Start the Server

Install dependencies with npm install On the terminal, run npm start

Init the db

On a different terminal, run npm run initdb to initialize the db

About

final-project-team6created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published