Practice project using Koa and TypeScript
# clone repository
$ git clone [email protected]:UncleYee/koa-typescript-example.git
# change current directory
$ cd koa-typescript-example
# install dependencies
$ npm i
# run project
$ npm run start
# run project with pm2
$ npm run start:pm2
# run project in production environment with pm2
$ npm run start:prod:pm2
# delpoy project
$ npm run deploy
# install pm2
$ npm install pm2 -g
# install typescript in pm2
$ pm2 install typescript
# to code folder
$ cd /path/to/production/folder
# install dependencies
$ npm i
# run
$ npm run start:prod:pm2
MIT