This template includes a minimal setup for writing a backend in Koa.
src/example-api
includes a few routed endpoints with various usages of standard HTTP input and output.
npm run install
npm run dev
npm run test
- koa-pino-http provides logging
- Jest is used for testing along with supertest
- There is a simple error handler provided in src/middleware/error-handler.ts