I just finished a Serverless React with AWS Amplify - The Complete Guide by Reed Barger today. I learned a lot about AWS and serverless functions.
But now it’s time for something different!
What about NestJS?
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Under the hood, Nest makes use of robust HTTP Server frameworks like Express (the default) and Fastify. Nest provides a level of abstraction above these frameworks, but can also expose their APIs directly to the developer. This allows for easy use of the myriad third-party modules which are available for each platform.
It looks like NestJS lends itself well to Domain-Driven Design. It also supports TypeScript from the ground up!
Check out these fantastic resources:
- NestJS Crash Course by Brad Traversy
- Build a GraphQL Server with NestJS and MongoDB by Ben Awad
- NestJS Zero to Hero - Modern TypeScript Back-end Development by Ariel Weinberger (paid course)