Prisma & Next.js
Sam Meech-Ward Sam Meech-Ward
84K subscribers
19,885 views
0

 Published On Oct 24, 2022

Learn how to use Prisma with a Next.js application to persist data to a PostgreSQL database. I'll also show you how to setup a cloud database using railway and deploy your app to vercel.

My prisma guide:
https://www.sammeechward.com/prisma-a...

Code:
https://www.sammeechward.com/prisma-a...

Env Vars:
https://www.prisma.io/docs/guides/dat...
https://nextjs.org/docs/basic-feature...


Join this channel to get access to perks:
   / @sammeechward  

Chapters:
0:00​ Intro
2:44 Installing Prisma
3:35 Environment Variables
6:37 Connect to local Postgres
7:44 Setup schema/models
9:28 Run migration
10:25 Prisma Studio
11:32 Posting data
20:01 Create a single prisma client
22:36 Getting data
26:45 Serializable Data
30:28 Deploy to the cloud
37:20 Summary

🔗Moar Links
My Website: https://www.sammeechward.com
Instagram:   / meech_ward  
Twitter:   / meech_ward  
Github: https://github.com/orgs/Sam-Meech-Ward

show more

Share/Embed