Building a REST API with NestJS, PostgreSQL, Swagger and Prisma
An ongoing series of articles on building a backend API with TypeScript, NestJS (version 8
), PostgreSQL, and Prisma (version 4
).
The series will focus various aspects of backend development.
Topics already covered:
- Data modeling (Part 1)
- Create, Read, Update & Delete (CRUD) operations (Part 1)
- REST API (Part 1)
- Validation (Part 2)
- Error Handling (Part 3)
- Complex Relations (Part 4)
Topics planned in future articles:
- Testing
- Authentication
- Authorization
- Deployment
- Using the
nestjs-prisma
library
Part 1
Building a REST API with NestJS and Prisma

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

Part 3
Building a REST API with NestJS and Prisma: Error Handling

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

Part 5
Building a REST API with NestJS and Prisma: Authentication
Don’t miss the next post!
Sign up for the Prisma Newsletter