Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaso991/koa-api-ts-starter
Koa2 Typescript API boilerplate
https://github.com/vaso991/koa-api-ts-starter
api boilerplate knexjs koa koa-router koa2 objectionjs pino swagger zod
Last synced: 3 months ago
JSON representation
Koa2 Typescript API boilerplate
- Host: GitHub
- URL: https://github.com/vaso991/koa-api-ts-starter
- Owner: vaso991
- License: mit
- Created: 2023-01-11T14:14:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T04:08:48.000Z (about 1 year ago)
- Last Synced: 2024-10-01T02:20:54.630Z (3 months ago)
- Topics: api, boilerplate, knexjs, koa, koa-router, koa2, objectionjs, pino, swagger, zod
- Language: TypeScript
- Homepage:
- Size: 363 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# koa-ts-getting-started
## Create Project:
With NPM:
```
npm create koa-ts-api@latest app-name
```With Yarn:
```
yarn create koa-ts-api app-name
```With PNPM:
```
pnpm create koa-ts-api app-name
```## Included packages
- [`Koa`](https://github.com/koajs/koa)
- [`koa-router`](https://github.com/ZijianHe/koa-router)
- [`Zod`](https://github.com/colinhacks/zod)
- [`objection + knex`](https://github.com/vincit/objection.js)
- [`pino-http`](https://github.com/pinojs/pino-http)
- [`koa-router-zod-swagger`](https://github.com/vaso991/koa-router-zod-swagger)
- [`jest`](https://github.com/facebook/jest) and [`supertest`](https://github.com/ladjs/supertest)## Setup
```
git clone https://github.com/vaso991/koa-api-ts-starter.git
cd koa-api-ts-starter
yarn install
yarn run dev
```