- Fork or clone and copy what you need
- for production set on heroku: https://dashboard.heroku.com/apps//settings -> reveal env vars
- locally: creat a
.env
file with key and value pair in form/url encodingSECRET_KEY=val
- connection code on models/index.js:
- travis: travis.io
- code coverage: codacy.com
- monitor on: https://ronerlih.loggly.com/search?terms=tag:heroku&from=-20m&until=now&source_group=&newtab=1#terms=&from=2020-11-07T12:03:00.296Z&until=2020-11-07T13:03:00.296Z&source_group=
-
write tests (Jest / mocha+chai)
- send test reports to code covarage
-
log (winston/ bunyan/ log4js/ morgan)
- dashborad monitor + notifications
- express best practices: https://expressjs.com/en/advanced/best-practice-performance.html