- Node.js and npm
- Yarn
- A MongoDB Service (Either localhost or on the web)
- execute "yarn install"
- Create a .env file and setup all the environment variables listed in .env.txt. An example would be like this:
PORT=3000
MONGO_URL=mongodb://localhost:27017 (if you have the mongo docker container running on your local system, if not connect to a remote server)
MONGO_DB=cpsc_671_hw_problem9
NODE_ENV=development
APP_NAME=CSPC-671-HW-Problem9
TOKEN_KEY=D65DB9BDFF3ED4A244CFCB79D6E93
TOKEN_EXP=2h
SAMPLE_AVATAR_URL=sample_images/sample_avatar.jpg
NO_IMAGE_URL=sample_images/no_image.jpg
- execute "yarn dev"