Database as Code with PlanetScale and Prisma
summary
Demo builds a create-next-app named "star app" that uses PlanetScale (MySQL‑compatible serverless) and Prisma to declare a Star model, run Prisma migrate against a shadow branch, and expose an /api/stars route returning rows inserted via Prisma Studio. PlanetScale provides database branching and non-blocking schema changes so the schema change lives in an isolated branch, merges to main via a deploy request, and the deployed Next.js app on Vercel successfully serves the data.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:13What Is Planet Scale
- 0:59Prisma
- 4:24Create Database
- 5:43Install the Prismaclient
- 9:53Connect to the Database Locally
- 12:11Create a Prisma Js File
- 13:45Prisma Studio
- 16:24Feedback on Planetscale
related talks
27mPlanetScale and Prisma: building in the cloud
29mModernize and Robust Applications with Prisma & Azure SQL Server
02h 05mGetting Started with Next.js and Prisma
16mHow Next.js and Prisma make frontend developers full-stack
13mReal-time GraphQL APIs with Prisma and AWS AppSync
01h 44mIntroduction to Prisma
01h 32mBuilding GraphQL APIs with Prisma
46mBoost your API Development with GraphQL & Prisma
