Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 687 Bytes

readme.md

File metadata and controls

34 lines (18 loc) · 687 Bytes

Starter Node JS architecture and improvements

1- Best architecture refactored from open sources projects like https://github.com/jonasschmedtmann/complete-node-bootcamp

2- ApiFeature refactored.

3- Refactor Error Handling.

4- Add repository layer.

5- Add seeder.

6- Add pagination on model on get all apis.

7- Add custom response for pagination data.

8- Add schema validator middleware and use of joi npm module.

9- Add Swagger documention with express.

10- Add config file that regroups .env variables.

11- Implement manual soft delete.

EXECUTION :

1- npm install

2- copy .envexample to .env

3- npm run seed

4- npm startfor run / npm run start:dev for run on dev mode