DEV Community

C.OG
C.OG

Posted on • Edited on

2

The Fullstack Angular Developer

TLDR: The parallels between an Angular and NestJS app are striking. You can share types, functions et al between the two platforms, allowing you, an Angular developer, to write a fully featured Backend application using Angular paradigms.

My thoughts on the term “Fullstack” are firmly attached to a pendulum. It’s currently swinging in the region of “there is no such thing”. Each discipline alone is too broad to have in-depth knowledge on both. You may be able to spin up an API server with Express, but that doesn’t make you “Fullstack”.

Nevertheless, the term Fullstack is present in our industry and I've seen a number of job postings that have a React + NodeJS pairing. This got me thinking about what the stack would be in the Angular ecosystem. Behold, NestJS.

We recently had to build a feature that required some Restful APIs. In order not to be blocked, we went down the "easier" 🤨 route of creating our own with NodeJS. We were already using Nx to manage our monorepo so it was trivial to add NestJS to our project.

The learning curve was next to nothing. NestJS was heavily inspired by Angular, so you'll feel right at home. TypeScript, Decorators, Services, Modules etc are all featured in Nest. It also does a really good job at abstracting some key concepts when it comes to creating Restful API's. HTTP response codes are automatically returned. Get, Post methods and a majority of other enhanced functionality are handled by decorators.

The biggest barrier I find when learning a new framework or library is the documentation and lack of available resources. Thankfully this is not an issue with NestJS. The docs are beautiful and due to the rise in popularity of Nest, there are a ton of helpful resources. In addition to that, there are schematics for the Angular CLI, so scaffolding is a breeze.

Eventually, I see the Angular + Nest stack becoming the de facto for full stack Angular Applications. The low barrier to entry for Angular developers makes it a dream pairing.

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (1)

Collapse
 
sepolly profile image
Sepolly

HAVE YOU TRIED lARAVEL?

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay