Express with TypeScript Boilerplate Dockerized Node.js项目

想要快速启动一个带有 TypeScript 支持的 Node.js 项目?那就试试这个基于Docker的 Node.js Express 样板吧!它的设计思路就是让你专注业务逻辑,而不是浪费时间在繁琐的项目配置上。这个样板挺适合大多数 Node.js 项目,集成了常见的技术栈。Docker让你在隔离环境中运行项目,避免环境问题。Node.js作为长期支持版本的运行时环境,确保项目稳定运行。Express.js负责服务器框架,PostgreSQL做数据库,TypeORM负责数据库操作,而TypeDI则让你轻松管理依赖注入。你只需要用 TypeScript 写业务代码,其他的配置工作已经帮你做好了。对了,记得用docker-compose快速启动项目。试试看吧,简单又高效!

zip
Express-Wtith-Typescript-Boilerplate-master.zip 预估大小:45个文件
folder
Express-Wtith-Typescript-Boilerplate-master 文件夹
file
.eslintrc.json 1KB
file
.dockerignore 29B
file
.mergify.yml 797B
folder
.github 文件夹
folder
workflows 文件夹
file
continuous-integration.yml 632B
file
auto-approve-dependabot.yml 763B
folder
src 文件夹
file
app.ts 3KB
file
config.ts 1001B
folder
services 文件夹
file
index.ts 98B
file
UserService.ts 2KB
file
ToDoItemService.ts 3KB
file
ToDoListService.ts 2KB
folder
utils 文件夹
file
logger.ts 283B
file
index.ts 25B
folder
models 文件夹
file
ToDoList.ts 579B
file
ToDoItem.ts 512B
file
User.ts 402B
folder
controllers 文件夹
file
DefaultController.ts 319B
file
ToDoListController.ts 3KB
file
ToDoItemsController.ts 4KB
folder
migrations 文件夹
file
1580070688033-Seed.ts 560B
folder
middleware 文件夹
file
errorHandler.ts 1KB
file
authenticate.ts 1KB
folder
spec 文件夹
folder
components 文件夹
file
schemas.yml 1KB
file
responses.yml 1KB
file
parameters.yml 624B
file
swagger.yml 9KB
folder
types 文件夹
folder
express 文件夹
file
index.d.ts 194B
file
server.ts 141B
folder
.vscode 文件夹
file
settings.json 172B
file
Dockerfile 133B
file
tsconfig.json 523B
file
LICENSE 1KB
file
tsconfig.release.json 186B
file
jest.config.js 426B
file
ormconfig.ts 551B
file
README.md 3KB
file
wait-for-it.sh 5KB
file
docker-compose.yml 529B
folder
tests 文件夹
folder
integration 文件夹
file
ToDoList.spec.ts 646B
folder
unit 文件夹
file
ToDoList.spec.ts 119B
file
.gitignore 25B
file
.eslintignore 51B
file
package-lock.json 372KB
file
entrypoint.sh 474B
file
package.json 2KB
zip 文件大小:120.77KB