1.0.0 • Published 1 year ago
template-express-pg-ts v1.0.0
This is a started Express-Postgres-Typescript-Jasmine project
Installation
1- run npx template-express-pg-ts <project_name>
2- cd <project_name>
3- delete unneded functions routes and handlers this is just for structure preview;
4-reconfigure database.json,config.ts to match your .env variables
scripts
npm run migrate : db-migrate up
npm run test : to migrate up the test database and run tests
npm run test-reset : //to reset the database and migrate down
npm run lint : check errors
npm run lint:fix : // fix errors
npm run dev : //run project in dev mode
npm run start : // npx tsc && node dist/src/index.js
1.0.0
1 year ago