API built with the wonderful Node.js
Clean architecture was the god guide to this project
Test Driven Development to not break everything all the time
Project is created with:
- mongoose
- jest
- express
set a mongodb database on env file
src
│
└───domain
└───infra
└───presentation
└───utils
└───main
│
└───config
│ env.js
install the dependencies
$ npm install
start the server
$ npm run start
to start the unit tests
$ npm run test:unit
to start the integration tests
$ npm run test:integration