A boilerplate project for building a REST API using Node.js, Koa framework, and TypeScript, version 1.7.0. Integrates TypeORM for SQL database operations with class-validators for entity validation. Includes JWT authentication, CORS, Winston logger, Helmet security headers, and Swagger API documentation. Designed as a starter template with a structured workflow for production-ready APIs, featuring GitHub Actions CI and Docker support. Active development with frequent updates.
npm install node-typescript-koa-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Koa app with a single route that fetches all users from PostgreSQL using TypeORM.
Use Node >=12.0.0 or update engines in package.json
Pin TypeORM version in package.json to a known compatible version
Use strong secrets via environment variables and rotate regularly
Run 'npm install typeorm' or check package.json
Ensure 'const app = new Koa();' is used
Add validators like @IsString() to User entity properties