Contest API for my full-stack contest app.
- Install MongoDB
- Create MongoDB database to use for the contests. Make sure the name is the same as
DB_NAME
indb.js
- Run
npm install
to install the package dependancies. - Run
node generateEnv.js
to generate the.env
file that contains the port and app secret key. - Then run
node app.js
ornodemon app.js
to run the API server.