A progressive Node.js framework for building efficient and scalable server-side applications.
You should create ormconfig.json in the root directory with next example
{
"type": "postgres",
"host": <<your_host>>,
"port": 5432,
"username": <<your_db_username>>,
"password": <<your_db_password>>,
"database": <<your_db_name>>,
"synchronize": true,
"entities": ["dist/entities/*.js"],
"migrations": ["dist/migrations/*.js"],
"cli": {
"migrationsDir": "src/migrations",
"entitiesDir": "src/entities",
}
}
$ npm install
# 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
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.