I created this boilerplate to give a basic but good starting point for future API based projects.
Todo
- Authentication using passport
Config
If you wish to use a Discord notifications add the relevant webhooks in /config/index.js
.
Environment Variables
If running in development e.g. npm run dev
then you will need add a file .env
and add in your MongoDB URI variable in. e.g. MONOGO_URI=mongodb://127.0.0.1:27018/example
.