A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Nest framework TypeScript starter repository.
$ yarn
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
# Folder setup
Create migrations folder under src folder. Create seeds folder within migrations folder.
# create migration file based on model changes
$ yarn typeorm migration:generate -n <FileName>
# run databse migration
$ yarn typeorm migration:run
# run migration for seeding data
$ yarn typeorm migration:run -c seed
# clone the application source code.
# install yarn from npm using global modifier.
$ npm i yarn -g
# install all the dependencies (node_modules) inside the project dir.
$ yarn install
# this command is to build the app
$ yarn build
# this command is to run all the migrations into the db.
$ yarn typeorm migration:run
# this command is to pre fill the db with pre-requisite data.
$ yarn typeorm migration:run -c seed
# finally, start the app
$ yarn start
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.