To run this project locally, you will need the following dependencies/environment files:
- node.js installed
- a [.env.local] file, containing your credentials for:
Auth0
: follow this guide to set up your own Auth0 credentialsMongoDB
: ask for the shared MongoDB connection string
- Docker Desktop installed
To run this project locally, you will run the following commands:
# Ensure you have the most recent node_modules installed (may or may not update package* files)
npm i
# Rebuilds the mock MongoDB server from scratch, and hosts on port 8081
docker compose up --build
# Starts hosting the Next.js app on port 3000
npm run dev
To stop running this project locally, run the following commands:
# Stops the containers that were spun up from docker compose up --build
docker compose down
# Stop the Next.js app
CTRL + c