Vercel and Neon

This project has been setup to work with Vercel Hosting and Neon for the database

Vercel hosting

Vercel offers the easiest and best hosting option for nextjs apps. Simply sign up for an account and connect your repo. (opens in a new tab)

Neon Postgres

This project has primsa setup to work with Neon in production. Setup a Neon db and substitute the connection string for the DATABASE_URL environment variable

You can also use the Neon Vercel integration app as well. (opens in a new tab) (opens in a new tab)

Setup Tables in database

To setup tables with the prisma schema simply add prisma db push command to the post build script in your CI/CD pipeline

Vercel Postgres
It`s possible to use Vercel Postgres as it uses Neon under the Hood, but this may potentially lead to issues down the road with the serverless adapters as they are not specifically built to work with vercel postgres.