Member-only story

Creating a REST API with NestJS — Part 02 — CRUD, ValidationPipe and DTO

Marcos Henrique da Silva
12 min readJan 15, 2021

In this article series, we continue developing our REST API using NestJS as a framework of choice

Before we start…

This is the part 02 of a few articles that I am using to create a REST API based with NestJS. If it is your first time here, please check my first article in this link:

What we are going to do?

We are continuing to develop the article from the first episode. If you want to code together, please use my branch from the end of the first article, here.

In this article we are going to create a users resource and its own CRUD operations, adding the validation layer to the metadata that we will receive from the HTTP request operations and I will try to simplify the explanation about the code architecture. We are also continue to use the NestJS client SDK.

A bit more about the nest client SDK

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

No responses yet

Write a response