Understanding GraphQL, databases and Prisma
summary
Explains how Postgres DDL, the Prisma schema and a GraphQL schema each have distinct roles and how Prisma serves as the single source of truth by mapping its schema to the database and producing a client; shows using Prisma to generate a type-safe Prisma Client and recommends code-first GraphQL builders (Nexus/TypeGraphQL) plus GraphQL Code Generator to produce client types so the API exposes a curated subset of data while keeping type safety across DB, server and clients.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:22Data
- 4:05Understanding Data
- 5:53Data is hard to model
- 9:33What is a schema
- 11:10Benefits of schemas
- 14:18There are schemas everywhere
- 14:51Multiple schemas
- 16:55Define your data in your domain
- 17:33Example Stack
- 17:52Database Schema
- 18:43SQL
- 19:15Prisma Schema
- 22:02GraphQL Schema
- 23:30GraphQL Types
- 30:31Outro
related talks
01h 32mBuilding GraphQL APIs with Prisma
46mBoost your API Development with GraphQL & Prisma
20mAutogenerate GraphQL API from Prisma schema
01h 44mIntroduction to Prisma
02h 17mFirst Steps with Prisma and TypeScript
42mPrisma in Production Discussion Panel
02h 09mPractical Introduction to Prisma
01h 34mPrisma: a practical introduction
