A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
npx sequelize-cli migration:generate --name add-new-column-to-table-A
然后编辑 最后运行
npx sequelize-cli db:migrate
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
后端部署
本地 push 后
- 服务端 pull
- 执行 yarn
- 执行 yarn build
- docker build -t gg-server-app:latest .
- docker compose down
- docker compose up -d
其他命令,查看 images yarn docker rim [image id]