nextjs-planetscale-starter
nextjs-planetscale-starter copied to clipboard
A Next.js starter app with NextAuth.js (Auth), Prisma (ORM), and PlanetScale (database), ready to be deployed on Netlify
Hey PlanetScale team, it would be great if this starter example was upgraded to use the latest version of Prisma. Current version is `4.7.1` and this example is using `3.3.0`....
In the admin setup page you are sending the csrfToken to the `create` api. But you are not validating it inside the api. Since the token is generated by `next-auth`...
https://nextjs-planetscale-starter.netlify.app/server  This appears to be because the [`netlify-plugin-nextjs` redirects `/server/*` to `404`](https://github.com/netlify/netlify-plugin-nextjs/search?q=HIDDEN_PATHS&type=)  