SECRET
for the Auth secret passed from frontend to backendSERVER_PORT
for the port on which the server listensNODE_ENV
should bedev
orproduction
DB_URL
is the URL to the mongo DB
- To install dependencies (not needed for running server but helps with development)
npm install
- To run a dev server:
npm start
- To run the tests:
npm run test
- To run linter:
npm run lint
After running the dev server, docs will be at http://localhost:3000/api-docs