Prisma & Next.js

Published: 24 October 2022
on channel: Sam Meech-Ward
20,935
469

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


Watch video Prisma & Next.js online, duration hours minute second in high quality that is uploaded to the channel Sam Meech-Ward 24 October 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 20,935 times and liked it 469 visitors.