RESTful API service scaffold based on Node.js & TypeScript
- HTTP server: Koa
- Controller framework: Routing Controllers
- Model framework: Class Transformer & Class Validator
- ORM framework: TypeORM
- API document: Swagger
- Mock API: OpenAPI backend
Name | Usage |
---|---|
APP_SECRET |
encrypt Password & Token |
DATABASE_URL |
PostgreSQL connection string |
Execute a command:
npm i pnpm -g
pnpm dev
or just press F5 key in VS Code.
pnpm upgrade:dev
Execute a command:
npm start
pnpm upgrade:pro
pnpm pack-image
pnpm container