/koa-ts

back services powered by koa2 & node & typescript

Primary LanguageTypeScriptMIT LicenseMIT

koa2-ts

node koa2 typescript

个人学写

包含技术栈:koa2、typescript、 jsonwebtoken、 redis、 mysql、 log4js、 session、socket.io、oauth

启动需要的 DB 服务 支持

mysql(5.7) redis

Start

 1、安装依赖 yarn
 2、启动项目 npm run dev 或 yarn dev

Build

1、npm run build 或 yarn build

2、cd build

3、yarn install --production || npm install --production

4、npm run start || yarn start (需要全局安装pm2 npm i -g pm2)

Visitors Count

Loading