- Controllers: defines app routes and their logic.
- Helpers: code and functionality to be shared by different parts of the project.
- Middlewares: Express middlewares which process the incoming requests before handling them down to the routes.
- Models: represents data, implements business logic and handles storage.
- Public: contains all static files like images, styles and javascript.
- Views: provides templates which are rendered and served by your routes.
- Tests: tests everything which is in the other folders. app.js โ initializes the app and glues everything together package.json โ remembers all packages that your app depends on and their versions
Structure following this tutorial: https://www.terlici.com/2014/08/25/best-practices-express-structure.html