Part 3.3 — Prisma Queries, Relations & Best Practices
This post teaches you how to design efficient, relational Prisma queries while avoiding N+1 errors, modeling relations cleanly, and thinking like a PostgreSQL-first backend engineer.
Latest articles, tutorials, and deep dives from ndlab tech blog.
This post teaches you how to design efficient, relational Prisma queries while avoiding N+1 errors, modeling relations cleanly, and thinking like a PostgreSQL-first backend engineer.
Clean REST architecture starts with controllers, services, and DTO validation. In this post, you’ll build the structure behind every API endpoint you’ll create moving forward.
This post walks you through setting up a clean NestJS backend with Prisma and PostgreSQL — the foundation for all backend work across the rest of this series.
Real-world frontends need safety: typed API responses, predictable errors, and consistent client logic. This post teaches you the patterns professionals use to integrate React with REST cleanly.
A React app becomes truly usable when it handles all states gracefully: loading, error, empty, and success. In this post, you’ll learn the UX patterns professionals rely on.
Forms connect users to data. In this post, you’ll learn how to validate input, manage UX states, and submit cleanly typed data to real REST endpoints.
Results