Complete Prisma & Supabase DB Tutorial

Опубликовано: 08 Октябрь 2024
на канале: Doug's Coding Corner
19,941
535

Postgres #database made easy! In this video, we will go over the initial local development setup for #supabase and #prisma, creating database #schemas, setting up entity #relationships, creating and running #migrations, #seeding the database, and running #queries with the prisma as well as the supabase clients, and much much more!

This took a while to create, I would greatly appreciate a like, and make sure to subscribe if this video has been helpful to you! ❤️

Code
Github: https://github.com/ResoluteError/supa... (the README contains all code snippets you may need to make your life easier)

Follow Up Video
Full Stack Setup & Deployment incl. Prisma & Supabase in just 18 minutes:    • Modern Full-Stack React/NextJS Setup ...  

Timestamps
0:00 Intro
1:00 Prerequisite: Docker Setup
2:31 Project Setup
3:10 Supabase Setup
5:30 Supabase Studio
7:05 Supabase Connection Options
10:39 Prisma Setup
11:39 Prisma Schema & Relationships
20:18 Schema Pushing & Migrations
27:34 Many-to-Many Relationships
30:13 Supabase Backups
32:09 Seeding Data with Prisma
41:36 Querying with Prisma
46:31 Supabase Type Generation & Querying
56:57 Outro