Quickest way to create a minimum viable Express appilication in Typescript. Base code structure is generated by express-generator.
- Typescript 3.9
- Express 4.16
- Jest 26.0
Bare minimum. No extra packages added
Create a new TypeScript Express app:
npx express-typescript-generator <app-name>
Start dev server at http://localhost:3000
. Monitor changes in src
npm run dev
Serve server at http://localhost:3000
npn run serve
Test with jest
npm run test
Generate test coverage
npm run test:coverage