-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
packages/egg-prisma-template-ts/FolderExplorer [ 2022-12-22 19:51:35 ].txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
├─.dockerignore | ||
├─.env -------------------- // 环境变量配置 | ||
├─Dockerfile -------------- // docker 构建 | ||
├─README.md | ||
├─app | ||
│ ├─common ---------------- // 公共库 | ||
│ ├─const ----------------- // 常量 | ||
│ │ └─status.ts | ||
│ ├─controller | ||
│ │ ├─auth.ts ------------- // 登录/权限校验【建议保留】 | ||
│ │ ├─file.ts ------------- // 文件上传/cos/oss【建议保留】 | ||
│ │ ├─home.ts ------------- // 测试 | ||
│ │ ├─test.ts ------------- // 测试使用 | ||
│ │ └─wechat.ts ----------- // 微信登录【建议保留】 | ||
│ ├─extend ---------------- // egg 扩展 | ||
│ │ ├─application.ts ------ // 主要扩展了 prisma/cos/jwt | ||
│ │ └─context.ts | ||
│ ├─middleware ------------ // 中间件 | ||
│ │ ├─error.ts | ||
│ │ └─jwt.ts -------------- // token校验 | ||
│ ├─public | ||
│ │ └─file-upload.html ---- // 文件上传测试 | ||
│ ├─redis ----------------- // redis 处理 | ||
│ │ └─token.ts | ||
│ ├─router.ts ------------- // 路由配置 | ||
│ ├─service | ||
│ │ ├─file.ts ------------- // 文件操作 | ||
│ │ ├─test.ts | ||
│ │ ├─user.ts ------------- // 用户注册/登录 | ||
│ │ └─wechat.ts ----------- // 微信登录 | ||
│ └─utils ----------------- // 一些工具函数 | ||
│ ├─cos.ts | ||
│ ├─encode.ts | ||
│ ├─file.ts | ||
│ ├─uid.ts | ||
│ └─user-info.ts | ||
├─app.ts | ||
├─config | ||
│ ├─config.default.ts ----- // 【重要】各种能力配置 | ||
│ ├─config.local.ts | ||
│ ├─config.prod.ts | ||
│ └─plugin.ts | ||
├─package.json | ||
├─prisma | ||
│ └─schema.prisma --------- // 【重要】ORM Model维护 | ||
└─tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters