nextjs-planetscale-starter icon indicating copy to clipboard operation
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

Results 3 nextjs-planetscale-starter issues
Sort by recently updated
recently updated
newest added

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 ![image](https://user-images.githubusercontent.com/10026538/142725513-ddb1b6c1-1576-4d3d-9ef8-b3f22c4259f4.png) 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=) ![image](https://user-images.githubusercontent.com/10026538/142725579-1419770f-4e96-4bb7-bff6-b827e56e1f4a.png) ![image](https://user-images.githubusercontent.com/10026538/142725602-0cfee232-61ec-4087-8337-1bc2116a612e.png)