Sample project to be docked. Some backend for blog, to be linked to a frontend
Run with the following ENV vars
MONGODB_URI
- your own mongo atlas instancePORT
SECRET
- secret key for JWT auth (any string will do)TEST_MONGODB_URI
- provide if running tests viasupertest
Install node dependencies with npm install
- Proceed to run production with
npm start
- Proceed to run development with
npm dev
- Proceed to run tests with
npm test