# typescript-koa-example **Repository Path**: wghzhida/typescript-koa-example ## Basic Information - **Project Name**: typescript-koa-example - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-10 - **Last Updated**: 2024-04-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Example how to use Koa and TypeORM with TypeScript 1. clone repository 2. run `npm i` 3. edit `ormconfig.json` and change your database configuration (you can also change a database type, but don't forget to install specific database drivers) 4. run `npm start` 5. open `http://localhost:3000/posts` and you'll empty array 6. use curl, postman or other tools to send http requests to test your typeorm-based API ## How to use CLI? 1. install `typeorm` globally: `npm i -g typeorm` 2. run `typeorm -h` to show list of available commands