MongoDB
We use MongoDB for writing our backend APIs. For a guide on getting started with MongoDB, check out this documentation.
Express
For the framework we use express. For a guide check out this doc
Folder structure
- app (application)
- config (configration)
- controller (as it says, if don’t know look at MVC)
- middleware (before or after request)
- model (as it says, if don’t know look at MVC)
- rotues (urls)
- services (third party or business logic)
- utils (as it says )
- validation (valdiate the request)
- loader (bootstrap application stuff)