A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
Copy .env.example
to .env
and configure the variables.
# docker
$ docker compose --env-file .\.env up -d
Run migrations (see Migrations)
Seed with data (see Seeding)
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# generate
$ npm run migration:generate --name=name
# run
$ npm run migration:run
# revert
$ npm run migration:revert
# seed
$ npm run seed
# import pokemon by name or id
$ npm run import:pokemon NameOrID
- # example: $ npm run import:pokemon 1
- # example: $ npm run import:pokemon bulbasaur
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.