Typescript Express REST API starter project with CRUD demo
1.0K
yarn start:devyarn start:local dbname={dbname} dbusername={dbusername} dbpassword={dbpassword}typescriptinversion of controll / dependency injectionSQL ORMunit and integration testing<url>/api-docsyarn installyarn start build tsoa routes, swagger definitions and starts the server on development mode listening to file changes (swagger definition changes will require a manual restart)yarn test unit and integration testsyarn build production buildyarn start:prod starts the server on production modeyarn start:local lets the user sets the database via arguments
express server, DB connection, Logger, etc
.env filesroutes configurationdata abstraction layers
classes and interfaces representing entities.business logic to be used primary by controllers
Data transfer objects, to decouple domain from Rest resourcesphusion/baseimagePM2Content type
Image
Digest
Size
296.9 MB
Last updated
over 7 years ago
docker pull mravinale/node-starter