This repository give you a starting point with Node JS projects for the following cases:
The following scripts launch respectivly:
npm run start
: Run production versionnpm run start:dev
: Develop - livereloadnpm run start:debug
: Ability to debug with vscode (activate auto attach option ) ctrl+shift+p(type "auto attach")
Works by the same way than Node Javascript but enforce linting.
npm run lint
: Verify syntaxe error and code quality
The following scripts launch respectivly:
npm run start
: Run production versionnpm run start:dev
: Develop - livereloadnpm run start:debug
: Ability to debug with vscode (activate auto attach option ) ctrl+shift+p(type "auto attach")npm run build
: convert typescript to javascript
Works by the same way than Node Typescript but enforce linting.
npm run lint
: Verify syntaxe error and code quality
A fully debuggeable and linted typescript project with 3 tiers architecture Controller/service/Repository. Mysql has been choosen to implement the repository layer. Manual promisify is also present inside DbHelper
A fully debuggeable and linted typescript project with an abstract 3-tiers architecture Controller/service/Repository. Avoid almost all dupplication