You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing documentation for Next.js using the app directory integrating Prisma?
I understand this should be straightforward for Next.js developers to understand and migrate from pages to app, however, I think it would also benefit other developers if given more reference.
App router is becoming more stable and evidently effective than pages, so I would like to request to update the Prisma website documentation.
I think the problem starts when you have to use common scenarios like add, delete, or fetch conditional data by clicking a button. The only way is to create API (route.ts) in the app folder and call them on the client side
Discussed in prisma/prisma#20762
Originally posted by GavinSalcedo August 21, 2023
Question
Is there an existing documentation for Next.js using the app directory integrating Prisma?
I understand this should be straightforward for Next.js developers to understand and migrate from pages to app, however, I think it would also benefit other developers if given more reference.
App router is becoming more stable and evidently effective than pages, so I would like to request to update the Prisma website documentation.
Thanks for the considering this post.
reference: https://www.prisma.io/docs/concepts/overview/prisma-in-your-stack/fullstack
How to reproduce (optional)
Click on this link to access the existing documentation
No response
Expected behavior (optional)
No response
Information about Prisma Schema, Client Queries and Environment (optional)
No response
Tasks
The text was updated successfully, but these errors were encountered: