Nest Logo

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456 [circleci-url]: https://circleci.com/gh/nestjs/nest

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

## Description [Nest](https://github.com/nestjs/nest) framework TypeScript starter repository. ## Project init ```bash # 1. Set up PostgreSQL and fill in .env cp .env.example .env # edit .env with your DB credentials # 2. Run DB schema (or let TypeORM synchronize on first start) psql -U postgres -d nestjs_blog -f database/init.sql # 3. Seed admin users npm run seed:admin # 4. Seed blog posts npm run seed:posts ``` ## Compile and run the project ```bash # development $ npm run start # watch mode $ npm run start:dev # production mode $ npm run start:prod ``` ## Run tests ```bash # unit tests $ npm run test # e2e tests $ npm run test:e2e # test coverage $ npm run test:cov ```