A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Book #1 -- Build a Recipe App with Nest.js and MongoDB
Nest framework TypeScript starter repository.
$ 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.
According to Compression Recipe Page, it can greatly decrease the size of the response body, thereby increasing the speed of a web app. In order to check this out, I'll compare the time taken for each request. I'll run the requests on Postman
As promised, it became faster indeed. And though I believed it wouldn't be as evident as it was if the dataset was larger, results showed a noticable difference. In case you want to run these test on your machine, go to src/main.ts
and coment an specific line
async function bootstrap() {
const app = await NestFactory.create(AppModule);
// app.use(compression()) comment this line