Skip to main content

Command Palette

Search for a command to run...

NestJS Learning , You Must use Nest JS for APIs

Published
1 min readView as Markdown
NestJS Learning , You Must use Nest JS for APIs
T

I'm a full-stack software developer creating open-source projects and writing about modern JavaScript client-side and server-side. Working remotely from India.

Nest is an open source web framework which uses TypeScript.

This was the questions in my mind that why should i use Nestjs when i have express and other framework, i was wrong its not something just a frameworks but it simplifies the API development in Node JS with proper structure, we might have seen different approach and many libraries being used for API development , With nestjs we are getting Proper Modular structure of application and everything structured for developers, you can get everything with nestjs building Blocks.

Nest’s bold logo

Why would I need it anyways…?

Well, this is easy. Because it helps you a lot!

You create simple controller and services, In controllers define your routes, services can get data from Database models and then we inject services in out controllers to feed data in it

Want to create a table for your database? Nothing easier.
Just create a JavaScript class and annotate/decorate it with @Entity(). Voila! Table created.

[NestJS - A progressive Node.js framework
NestJS is a framework for building efficient, scalable Node.js web applications. It uses modern JavaScript, is built…nestjs.com](https://nestjs.com/ "https://nestjs.com/")

NestJS is easy to learn and helps us in Building Graphql or REST based APIs, You can follow my Training session on Nest JS

More from this blog

C

Code with tkssharma || blogs for developers

349 posts

I’m Tarun, I am Publisher, Trainer Developer, working on Enterprise and open source Technologies JavaScript frameworks