https://github.com/leosuncin/koa-api-example
A simple REST API built with Koa
https://github.com/leosuncin/koa-api-example
jest koa nodejs pactum rest-api typeorm typescript
Last synced: about 1 month ago
JSON representation
A simple REST API built with Koa
- Host: GitHub
- URL: https://github.com/leosuncin/koa-api-example
- Owner: leosuncin
- Created: 2021-10-06T06:28:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2026-03-08T20:16:23.000Z (about 1 month ago)
- Last Synced: 2026-03-08T20:24:48.519Z (about 1 month ago)
- Topics: jest, koa, nodejs, pactum, rest-api, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 26.5 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 🌲 Koa API example
[](https://github.com/semantic-release/semantic-release)
[](http://www.gnu.org/licenses/gpl-3.0)
> A simple REST API built with Koa
## Tech Stack
**Server:** Node, Koa, TypeORM
**Test:** Jest, Pactum
## Run Locally
Clone the project
```bash
git clone https://github.com/leosuncin/koa-api-example.git
```
Go to the project directory
```bash
cd koa-api-example
```
Install dependencies
```bash
npm install
```
Build the project
```bash
npm run build
```
Start the server
```bash
npm start
```
## Running Tests
To run unit tests, run the following command:
```bash
npm test
```
## License
Release under the terms of [GPL v3](http://www.gnu.org/licenses/gpl-3.0)