From the course: Next.js Ecommerce: Build a Shopping Platform from Scratch

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

PostgreSQL and Prisma setup

PostgreSQL and Prisma setup

All right guys, so now we're going to set up our database, which ultimately is going to come from Neon, which is a serverless platform that offers cloud Postgres databases. And they have a very generous free tier. So you see here 10 projects, half a gig storage. This is more than enough for what we're doing. Obviously, if you go into production, you're going to want to look into, you know, upscaling to a paid plan. Now you can set up your database through the Neon interface if you want. However, Vercel now offers NEON databases right through their interface. And since we're using Vercel for production, we might as well use that. So just log in to Vercel, go to your dashboard. And I'm just going to use a different project here, or a different account. And then if you go to Storage, you have these different options. And one of them is NEON Serverless Postgres. So we're going to click Create. It's literally just a couple clicks to set this up. And then choose your region. Choose the…

Contents