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.example
to.env
- Add your database URL from Step #2 to the
DATABASE_URL
variable in your.env
file - 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.