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_NAMEindb.js - Run
npm installto install the package dependancies. - Run
node generateEnv.jsto generate the.envfile that contains the port and app secret key. - Then run
node app.jsornodemon app.jsto run the API server.