【文件属性】:
文件名称:fl-node-saas-v1:辅料saas管理系统
文件大小:118KB
文件格式:ZIP
更新时间:2021-03-11 21:20:52
系统开源
hackernews-async-ts
使用打字稿&& egg的展示
快速开始
发展
$ npm i
$ npm run dev
$ open http://localhost:7001/
不要以开发模式编译tsc,如果您已经运行过tsc则需要在npm run dev之前先进行npm run clean npm run dev 。
部署
$ npm run tsc
$ npm start
Npm脚本
使用npm run lint检查代码样式
使用npm test运行单元测试
se npm run clean以在开发模式下清理编译的js一次
要求
Node.js 8.x
打字稿2.8+
【文件预览】:
fl-node-saas-v1-master
----.gitignore(198B)
----app()
--------dto()
--------entity()
--------middleware()
--------controller()
--------err()
--------enum()
--------exception()
--------db()
--------aop()
--------extend()
--------service()
--------router.ts(331B)
----package.json(2KB)
----tslint.json(39B)
----.autod.conf.js(351B)
----package-lock.json(360KB)
----.travis.yml(162B)
----dll()
--------fl.saas.1.0.0.sql(19KB)
----tsconfig.json(717B)
----README.md(575B)
----config()
--------plugin.ts(289B)
--------config.prod.ts(143B)
--------config.default.ts(529B)
--------config.unittest.ts(679B)
--------config.local.ts(1KB)
----appveyor.yml(241B)
----.nyc_output()
--------2be2ccf7-29d3-4270-bf53-ea641ef9c992.json(2B)
----typings()
--------app()
--------config()
--------index.d.ts(86B)
----test()
--------app()