Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Next.js.13 (App) router + Prisma documentation #5200

Open
GavinSalcedo opened this issue Aug 21, 2023 · 2 comments
Open

Request for Next.js.13 (App) router + Prisma documentation #5200

GavinSalcedo opened this issue Aug 21, 2023 · 2 comments
Labels
docs Documentation creation, updates or corrections

Comments

@GavinSalcedo
Copy link

GavinSalcedo commented Aug 21, 2023

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

No tasks being tracked yet.
@jkomyno jkomyno transferred this issue from prisma/prisma Aug 21, 2023
@carvalhochris
Copy link

Hello

I have a working Next app router with Prisma: https://github.com/carvalhochris/pure-ts

@janpio janpio added the docs Documentation creation, updates or corrections label Feb 20, 2024
@navdeep-soni
Copy link

Hello

I have a working Next app router with Prisma: https://github.com/carvalhochris/pure-ts

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation creation, updates or corrections
Projects
None yet
Development

No branches or pull requests

4 participants