Building a Products REST API in NestJS: From Database to JSON Response: E-4
23 min525 views
About this video
We have a products table sitting in Postgres. Now it is time to expose it to the world through a clean REST API built in NestJS.
This episode covers creating a NestJS resource for products: the module, service, and controller. You will write the Prisma queries, shape the response, and hit a real URL to get back real product JSON. Jay also walks through NestJS dependency injection as it applies here so you understand the pattern, not just the code.
Keep learning NestJS
Every free video, mini course and project-based course on NestJS in one place, in the order that makes sense.
More free videos
All videos
Duration 24:19NestJSBuild an Orders API in NestJS: Nested Prisma Writes and Server-Side Totals E-10
603 views · Sep 27, 2026
Duration 1:20:41NestJSHow to Build an AI Shopping Agent with NestJS (Tool Calling + Guardrails) – Ep 13
746 views · Oct 18, 2026
Duration 1:13:03NestJSBuild AI Chat with Semantic Search in NestJS (Streaming + Smart Router) – Ep 12
659 views · Oct 11, 2026
Duration 32:31NestJSSemantic Search with OpenSearch & Embeddings in NestJS (Step by Step) – Ep 11
748 views · Oct 4, 2026
Duration 18:52NestJSNestJS Auth Part 3: Roles Decorator, RolesGuard and Seller-Only Routes: E9
811 views · Sep 20, 2026
Duration 45:47NestJSNestJS Unit Testing with Jest: Mock PrismaService and Test JWT Auth e8
1K views · Sep 6, 2026
