在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:SimpleCodeCX/koa-ts-cli开源软件地址:https://github.com/SimpleCodeCX/koa-ts-cli开源编程语言:JavaScript 100.0%开源软件介绍:koa-ts-cliA simple CLI for create koa + ts project: Templateskoats provide three templates that are all based on ts.
This three template has the following three common features. ✓ koa v2 ✓ Jest ✓ APIDOC ✓ Docker ✓ Eslint ✓ Husky Installation npm i -g koa-ts-cli Create Project koats create myProject
# Choose your favorite template.
cd myProject
npm install In Development Mode cd myProject
npm run dev
In Porduction Mode npm run build
cd myProject/dist
npm run prod
Run In Docker cd myProject
npm install
npm run build
sudo docker build -t koa-ts-api-server .
sudo docker run -it --name koa-ts-api-server -p 8080:8080 koa-ts-api-server Test cd myProject
npm run test |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论