监督后台:监督后端

时间:2021-02-13 06:30:46
【文件属性】:
文件名称:监督后台:监督后端
文件大小:96KB
文件格式:ZIP
更新时间:2021-02-13 06:30:46
TypeScript 监督回溯 监督后端。 环境变量 姓名 必需/可选 描述 MONGO_URL 选修的 MongoDB数据库的连接字符串。 CI 选修的 对于特定于CI的行为,请将其指定为true 。 如果未指定MONGO_URL ,将使用mongodb://localhost:27017/ 。 使用说明 npm run dev 通过nodemon启动开发服务器,该服务器允许在开发过程中进行热重载。 npm run build 将TypeScript文件构建到JavaScript中,该文件位于dist/ 。 执行此操作后,运行npm run start以启动生产服务器。 在开发过程中不应使用此功能。 请改用npm run dev 。 仅在生产服务器上使用此功能或测试生产服务器的操作。 npm run start 通过pm2启动生产服务器。 这将运行已转译JavaScript文件,该文件应
【文件预览】:
oversight-back-main
----.gitignore(183B)
----.eslintrc(811B)
----package.json(1KB)
----package-lock.json(310KB)
----src()
--------statuses()
--------api-def()
--------endpoints()
--------main.ts(103B)
--------base()
--------app.ts(2KB)
----jest.config.ts(725B)
----ecosystem.config.js(231B)
----tsconfig.json(793B)
----.gitmodules(119B)
----.github()
--------workflows()
----README.md(3KB)
----.codacy.yml(64B)
----.eslintignore(142B)
----nodemon.json(159B)
----precommit.sh(628B)
----test()
--------setup.ts(76B)
--------teardown.ts(79B)

网友评论