NodeJS API back-end with the following tools already setup
- Typescript compiler i.e.
tsc
- Absolute imports with
module-alias
eslint
for static analysis and lintingvitest
for testing- Some basic
package.json
scripts
$ npm i --save-dev
$ npm run dev
$ npm run build
$ npm run start
Note: The NODE_ENV
environment variable will be set to production
when running the app in production mode.
$ npm run check
$ npm test
$ npm run gen:secret
$ npm run db:migrate
$ npm run db:seed