Member-only story

Creating a REST API with NestJS — Part 01 — Scaffolding and basic CLI usage

Marcos Henrique da Silva
7 min readJan 15, 2021

--

Welcome back! In the mini series of article I am going to guide you on how to built a REST API using NestJS framework

If it is your first time reading one my articles, welcome! If you are already following some of my articles, welcome back!

I am Marcos, a former software engineer that works remote from the past 5 years already. Last year I wrote a total of 12 articles trying to explain in a simple way a “how to” create a REST API with ExpressJS. I was not promoting it and got surprised and happy with the thousands of readers that arrived and actually read it. With this in mind I got an extra motivation to recreate the previous articles but using a very robust framework, NestJS.

What is NestJS?

NestJS is an open source, robust framework designed to provide a good architecture and built in features that we often need to implement and use. They have built in REST and GraphQL ready components to dive in, and an amazing CLI that allows you to scaffold what you need fast, giving you time to code important things instead of mechanical ones.

Although is amazing to use the advanced CLI from NestJS to speed up your development process, it is very important for you as a software developer to understand the idea…

--

--

No responses yet