实现Node.js后端架构的文件夹结构

- 文件夹结构
  - src
    - app.ts  # 应用程序入口点
    - api  # Express路由控制器和中间件,用于应用的所有端点
    - config  # 环境变量和相关配置
    - handlers  # 处理程序
    - helpers  # 辅助方法
    - interfaces  # 接口
    - jobs  # 任务
zip
backend-architecture-nodejs-mysql-main.zip 预估大小:35个文件
folder
backend-architecture-nodejs-mysql-main 文件夹
file
.eslintrc 332B
file
.nvmrc 10B
file
.lintstagedrc.json 102B
file
sonar-project.properties 56B
file
package.json 3KB
file
.prettierrc 136B
folder
tests 文件夹
folder
routes 文件夹
folder
v1 文件夹
folder
test 文件夹
file
unit.test.ts 807B
folder
home 文件夹
file
unit.test.ts 526B
file
setup.ts 74B
file
.gitlab-ci.yml 742B
file
jest.config.ts 668B
file
.env.example 132B
folder
src 文件夹
folder
models 文件夹
folder
test 文件夹
file
test.model.ts 480B
folder
config 文件夹
file
index.ts 679B
folder
loaders 文件夹
file
express.ts 1KB
file
mysqlPool.ts 1KB
file
index.ts 986B
folder
api 文件夹
folder
routes 文件夹
folder
v1 文件夹
folder
test 文件夹
file
schema.ts 123B
file
index.ts 710B
file
index.ts 179B
folder
middleware 文件夹
file
validator.ts 660B
file
app.ts 809B
folder
interfaces 文件夹
file
server.interfaces.ts 222B
folder
services 文件夹
folder
test 文件夹
file
test.service.ts 834B
folder
helpers 文件夹
folder
templates 文件夹
file
template.ts 397B
file
logger.ts 206B
file
api.response.ts 2KB
file
tsconfig.json 504B
file
webpack.config.ts 1KB
file
layer.architecture.drawio 4KB
file
.gitignore 83B
file
README.md 2KB
file
.eslintignore 106B
file
.huskyrc.json 58B
file
.editorconfig 157B
zip 文件大小:21.37KB