If I’m using Vercel to host my frontend (like a Next.js app) and my API routes, how can I still connect to a database like PostgreSQL using tools like Prisma or NestJS?
Did you know there’s another category dedicated to v0 topics? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.
Our docs are a great place to start.
We also have a walkthrough to help guide your workflow.
And these recordings can give you a look at v0 features and strategies in action shown by our Community:
Hi @suheb, you can connect PostgreSQL databases in your Next.js API routes or Server components. To learn more, you can follow our How to Build a Fullstack App with Next.js, Prisma, and Postgres detailed guide.