Skip to content

A template fullstack repository setup with Next.js, Prisma, Apollo, GiraphQL (https://giraphql.com) and GraphQL CodeGen for building fullstack web applications

Notifications You must be signed in to change notification settings

kush-daga/Next-Prisma-GraphQL-Template

Repository files navigation

Ive been working on nextjs for quite some time, and decided to make a template for a fullstack NextJs application, this template includes Full GraphQL + TypeScript Support using GiraphQL as the code first schema builder solution (https://giraphql.com) with GraphQL CodeGen end to end setup for full type safety and uses Prisma as the ORM to talk to PostgreSQL based db. It also has codegen plugins installed which will generate individual types for every file or component in your application (so queries written in the frontend will also have full type support). This is I believe quite scalable and I have set up session based auth using next-iron-session which makes it super easy to manage sessions and also having a shared context between the requests. I hope this will be useful to you guys, and I will be updating it alot, so keep an eye for commits, will add more authentication and also add apollo-client in the frontend along with some demo pages styled with TailwindCss. Do star and fork if you find it helpful. https://github.com/kush-daga/Next-Prisma-GraphQL-Template

About

A template fullstack repository setup with Next.js, Prisma, Apollo, GiraphQL (https://giraphql.com) and GraphQL CodeGen for building fullstack web applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published