Рет қаралды 5,341
As you might be aware, NestJS is a relatively new framework within the NodeJS ecosystem. It fully supports Typescript and uses principles of Object-Oriented Programming. We can use NestJS to build server-side applications (think microservices or REST APIs).
In the background, NestJS also uses HTTP server frameworks such as Express and Fastify. Basically, NestJS provides a layer of abstraction over Express and Fastify frameworks. But it also exposes their APIs to the developer. This helps developers use any available third-party package for the underlying server framework.
The question, however, is whether we should use Express or Fastify to build NestJS applications? And how should we go about enabling one of them for our NestJS application? In this post, both the questions will be answered.
#nestjs #typescript #expressjs
++++++++++++++++++++++++++++++++++++++++++++++++
Subscribe today to the ProgressiveCoder FREE Newsletter: progressivecoder.substack.com/
Visit my General Tech Blog for lots of how-to articles on various technologies: www.progressivecoder.com
Visit my Web Development Specific Tech Blog if you are interested only about web development: www.progressivewebninja.com
You can also check out my Github account for examples I have built: www.github.com/dashsaurabh
+++++++++++++++++++++++++++++++++++++++++++++++++