prisma / prisma-examples

🚀 Ready-to-run Prisma example projects

Home Page:https://www.prisma.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Next.js examples

nikolasburk opened this issue · comments

  • Add "Deploy with Vercel" button
  • issue: README talking about an API route that doesn’t exist (/api/feed)

Idea: Link to the fullstack-prisma-nextjs-blog template from the example README.

We'll have to switch the database provider if we want to add a deploy button. SQLite doesn't work too well on Vercel with Prisma. The last time I tried it, I ran into some errors — the SQLite file could not be found.

I would like to understand the purpose and intention we have with the Next.js examples to help decide if we should(n't) add the deploy button.

Here are some of the options I think we have:
Option 1: Add a deploy button, and update the database provider to make the deployment process smoother.

Option 2: No deployment button but link to fullstack-prisma-nextjs-blog template from the README.

Another suggestion:

commented

Also needs refactor