Based on Dr Muppala's NodeJS Coursera Course.
https://www.coursera.org/learn/server-side-development
- MongoDB credentials are stored in config.js
- Middlewares are instantiated in app.js
- Web APIs are stored in the routes folder
- Mongoose Models are stored in the Models folder
- Used callback functions during the course, would strongly recommend the use of promises, generators or async/await.