Skip to content

Arterning/nest-todo-api

Repository files navigation

后端

使用 Nest.js 实现的 Todo App 后端 API。

重要命令

Nest.js 相关

本地启动:

npm run start:dev

Docker 相关

构建 Docker 镜像:

docker build .

数据库相关

数据库迁移(初始化结构):

npm run migration:run

生成数据库迁移文件:

npm run migration:create 操作名

插入初始数据:

npm run db:seed

重置数据:

npm run db:reset

Note

We'd better use pnpm install instead of npm install

About

Build Todo Task Api By Nest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published