← Back to Blog
Series · 5 parts

Building a REST API with NestJS, PostgreSQL, Swagger and Prisma

Build a complete REST API with NestJS and Prisma, covering validation, relational data, error handling, and authentication.

EducationJune 3, 2022

Building a REST API with NestJS and Prisma

Learn how to build a backend REST API with NestJS, Prisma, PostgreSQL and Swagger. In this article, you will learn how to set up the project, build the API and document it with Swagger.

EducationJuly 19, 2022

Building a REST API with NestJS and Prisma: Input Validation & Transformation

Learn how to build a backend REST API with NestJS, Prisma, PostgreSQL and Swagger. In this article, you will learn how to perform input validation and transformation for your API.

EducationDecember 14, 2022

Building a REST API with NestJS and Prisma: Error Handling

In this tutorial, you will implement error handling in a NestJS application. You will learn two ways to handle errors: directly in your application code and by creating an exception filter.

EducationMarch 23, 2023

Building a REST API with NestJS and Prisma: Handling Relational Data

In this tutorial, you will learn how to handle relational data in a REST API built with NestJS, Prisma and PostgreSQL. You will create a new User model and learn how to model relations in the data layer and API layer.

EducationMarch 31, 2023

Building a REST API with NestJS and Prisma: Authentication

In this tutorial, you will learn how to implement JWT authentication with NestJS, Prisma and PostgreSQL. You will also learn about salting passwords, security best practises and how to integrate with Swagger.