If you’re new to TypeScript, checkout [this handy cheatsheet](https://devhints.io/typescript)
This is a starter template repository for setting up an Express.js app with TypeScript.
It implements 2 GET
endpoints /ping
and /pong
with tests using Mocha, Chai and SuperTest.
Prettier and ESlint is also setup for you. Feel free to send a PR if you think something needs to change.
To run in development mode use:
npm run watch-node
To do a one-off build, use
npm run build
Code quality is set up for you with eslint
.
Run it with:
npm run lint
Mocha
tests are set up to run with:
npm test
To run tests in watch mode use:
npm run watch-test
.github/workflows/build.yml