没有合适的资源?快使用搜索试试~ 我知道了~
typescript-node:TypeScript和NodeJS项目模板
共72个文件
ts:58个
json:5个
yml:2个
需积分: 15 0 下载量 88 浏览量
2021-02-04
02:56:50
上传
评论
收藏 97KB ZIP 举报
温馨提示
打字稿节点 用于构建nodejs和打字稿服务的模板。 此样板的主要目标是通过提供以下功能来提供良好的开发人员体验(例如:调试,监视和重新编译): 产品特点 语言 REST API- 正常关机- HealthCheck- SQL数据库和迁移 认证和授权 验证 测试-+ 代码样式- 吉特·胡克斯- 安装与运行 npm install-安装依赖项 npm run start-启动应用程序(需要一个mysql数据库) 使用Docker运行 docker-compose up (编写并运行,它还会创建mysql数据库) docker-compose down (销毁应用程序和mysql容
资源推荐
资源详情
资源评论
收起资源包目录
typescript-node-master.zip (72个子文件)
typescript-node-master
.travis.yml 513B
.nvmrc 2B
package.json 2KB
tslint.json 430B
test
unit
server
middlewares
authentication.test.ts 2KB
validator.test.ts 1KB
error-handler.test.ts 1KB
authorization.test.ts 1KB
log-request.test.ts 1KB
response-time.test.ts 572B
lib
hasher.test.ts 684B
health.test.ts 470B
integration
database-utils.ts 838B
server
tasks
create-task.test.ts 2KB
delete-task.test.ts 2KB
update-task.test.ts 2KB
get-task.test.ts 2KB
get-all-tasks.test.ts 2KB
users
user-me.test.ts 1KB
delete-user.test.ts 3KB
change-password.test.ts 2KB
create-user.test.ts 2KB
login.test.ts 1KB
update-user.test.ts 2KB
health
health-check.test.ts 609B
server-utils.ts 1KB
global-hooks.test.ts 522B
Dockerfile 183B
LICENSE 1KB
package-lock.json 193KB
src
container.ts 1KB
server
tasks
controller.ts 2KB
model.ts 488B
validators.ts 297B
index.ts 2KB
users
controller.ts 2KB
model.ts 532B
validators.ts 672B
index.ts 2KB
health
controller.ts 380B
index.ts 412B
index.ts 2KB
middlewares
validator.ts 1011B
authorization.ts 445B
error-handler.ts 724B
log-request.ts 615B
authentication.ts 413B
response-time.ts 216B
index.ts 274B
errors.ts 1KB
repositories
user-repository.ts 2KB
task-repository.ts 2KB
index.ts 102B
lib
database
migrations
20180330164632_create_schema.ts 1KB
index.ts 3KB
hasher
index.ts 502B
authentication
index.ts 1KB
health
index.ts 574B
index.ts 2KB
entities
user.ts 161B
task.ts 142B
index.ts 60B
managers
user-manager.ts 2KB
index.ts 90B
task-manager.ts 764B
tsconfig.json 338B
db-scripts
create_database.sql 43B
docker-compose.yml 568B
.gitignore 584B
README.md 2KB
.editorconfig 281B
.vscode
launch.json 1012B
共 72 条
- 1
资源评论
蓝精神
- 粉丝: 26
- 资源: 4721
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功