Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 715 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 715 Bytes

Project Overview:

Modularized node js boilerplate code with all necessary packages needed in a project .

Application is divided into following folders.

1- Root File = app.js

2- Routing = routes folder which handles only routing and pass controls to controller

3- Controllers = controllers handle business logic and also handle external api request

4- db = folder for database objects calling and ORM

5- Logs = Gather error logs using winston and morgan

6- .env = contains environmental variable which can be called using dotenv package

Recommended Article :

https://www.coreycleary.me/project-structure-for-an-express-rest-api-when-there-is-no-standard-way/