This is a Prisma and Next.js demo presented at Prisma Serverless Conf. To get this working, make sure to:
- Run
npm install - Create a postgres database on Railway
- Change the name of the
.env.exampleto.env - Add your database URL from Step #2 to the
DATABASE_URLvariable in your.envfile - Add the Prisma data proxy using their official docs
- Deploy on Vercel and add environment variables
To view the demo without the Prisma Data Proxy, go here.