【文件属性】:
文件名称:nestjs-hex:使用Nestjs的六边形架构
文件大小:125KB
文件格式:ZIP
更新时间:2021-02-16 05:19:06
TypeScript
分子
一个基于DDD以及Ports and Adapters体系结构的基础项目。
描述
基于框架的项目。
安装
$ npm install
运行应用
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
测试
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
执照
Nest已。
【文件预览】:
nestjs-hex-master
----.gitignore(409B)
----package.json(2KB)
----package-lock.json(436KB)
----src()
--------app()
--------app.controller.spec.ts(655B)
--------main.module.ts(323B)
--------main.ts(211B)
--------Authentication()
----tsconfig.json(336B)
----.eslintrc.js(599B)
----README.md(752B)
----tsconfig.build.json(97B)
----test()
--------app.e2e-spec.ts(630B)
--------jest-e2e.json(183B)
----.editorconfig(318B)
----.prettierrc(105B)
----nest-cli.json(64B)