A starter kit for NestJS development with PostgreSQL & GraphQL enabled.
$ npm install
A. Create Migration
npm run makemigration <migration_name>
B. Running Migration
npm run migrate
C. Show Migration List
npm run typeorm migration:show
For local development, start postgresql container first :
docker-compose up -d
# local
$ npm run local
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
[System Information]
OS Version : Linux 5.13
NodeJS Version : v14.19.1
PNPM Version : 6.32.6
[Nest CLI]
Nest CLI Version : 8.2.5
[Nest Platform Information]
platform-express version : 8.4.4
schematics version : 8.0.10
passport version : 8.2.1
graphql version : 10.0.8
typeorm version : 8.0.3
testing version : 8.4.4
apollo version : 10.0.8
common version : 8.4.4
config version : 2.0.0
core version : 8.4.4
jwt version : 8.0.0
cli version : 8.2.5
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.