How to set up Prisma with Next.js and Postgres!

preview_player
Показать описание


🔖 Chapters 🔖
00:00 - Intro
00:39 - Create the project
01:08 - Start Postgres
01:38 - Install Prisma
03:26 - Create the Schema
06:48 - Seed the database
10:35 - Use the client
17:25 - Outro

📜 Code 📜

📚 Resources 📚

👨🏼‍💻 About Me 👨🏼‍💻
I am a principal software engineer and architect who loves building cool cloud software.

Рекомендации по теме
Комментарии
Автор

Mate you are a legend, so many tutorials I watched focused so much around vercel, supabase etc and not actually setting up the whole process, your tutorial is the first one that I successfully connected to my own locally hosted postgres DB. Thanks so much.

The way you explain every step of the way is just brilliant too.

Mantenner
Автор

This is fantastic! I've been looking for such bite-site tutorials no longer than 15 minutes because that's just how much my brain can handle. State-of-the-art tech stack and clear cut explanation, are you kidding me. Your channel is way too underrated! I sure will build saas with you, Ethan!!

TheInvestmentThesis
Автор

I've been searching for a way to use Postgres with Next.js. Amongst more than 20 videos, this was the best explained one and the only that actually helped me. Thank you so much, you gained a loyal follower

GianlucaCassol-jzek
Автор

Nice one Ethan, my project is now ready for success. Thanks for the in depth run down and explanation, really helped me

AngusGaukrogerDev
Автор

I just want to commend you that your videos are one of the most informative, focused and easy to understand of all the instructors on youtube. Continue like that :)

SuperRer
Автор

just ran into your channel. Great stuff mate. You are introducing some new valuable stuff which i am incorporating to my apps.

GabrielMartinez-ezue
Автор

Haven't been a dev very long and I've been wanting to try and practice some fullstack skills to better communicate with the backend devs on my team. This was a great tutorial to help me get started and I appreciate the time and effort to show both the /app directory way and the /pages way! Thank you!

austinwhitbeck
Автор

insanely perfect tutorial, liked and subscribed dude thanks a lot

mcFishXtraMayo
Автор

Very helpful video and greate explanation. I was having very hard time getting data from my database to be displayed. Thank you for the video!

firattech
Автор

I found the perfect channel with the perfect stack for my Saas! Thank you!!!

alexandergarzo
Автор

Fantastic explanation. Cleared so many doubts. Please keep making long form contents like for learners like us. Thank You Boss

icongrindsetsfj
Автор

This is truly helpful, saved me a lot of time searching online how to do this. Thanks Ethan!

akebu
Автор

You’re a very good teacher 👍🏾....smashing that subscribe button!

adehenry
Автор

very helpful video, unlocked my hands :)

ijuji_codes-gziv
Автор

I've been wanting to learn more about next and there has been SOOO many changes extremely recently. So im watching videos from 3 weeks ago and they just don't apply anymore 🤣 I am also wanting to learn prisma so this was extremely helpful!! Thanks a ton

stephanpaul
Автор

thx bro, i feel i'm somwhere close to the ture with your videos

White_cow_story
Автор

damn, this was so informative and well explained, thanks a lot ! waiitng for new videos on Nextjs prisma and maybe tRPC tysm. (+1 subscriber)

agcodes
Автор

really superb explanation sir i am from India I usually watch your videos. thank you so much

sujathareddyp
Автор

is it possible to get data from db without declaring schema ?
as my db was prebuilt having data...now i want to connect it with next prisma, what should i do ?

codedwebs
Автор

I noticed you searching through a long list of commands when searching for docker postgres in the terminal. What are you using to do that?

Fabbaist