Express TS API
Supports Debugging with vs-code
Integrated test with Jest and Supertest
npm i # Install all the packages
npm run dev # Running on dev
npm run build # Builds and transpiles to Javascript
npm run debug # Debug with chrome
npm run test # to run test suite
npm run test-generate # run test suite and generate Coverage Report
/api - Parent route
Routes are exported as single instance , which contains all the child routes
that will be initiated by the init() method
- Controller Layer for handling http calls
- Database and other external connections
- helper functions for controllers and data-repository
- middlewares for the express router
- Models required for database operations
-Constructing raw queries for Relational Databases alternatives to models
- Database access layer or abstraction layer
- Common response handler for http methods
- Common Route directory
- API test cases