An open API service indexing awesome lists of open source software.

https://github.com/ebharathi/nextauth-prisma-graphql

Built In Auth(Google,Git & Custom Password),session management, graphql api , prisma db(Postgres/mySQL/mongoDB)
https://github.com/ebharathi/nextauth-prisma-graphql

graphql monorepo nextauth nextjs nexus prisma sass sass-template template

Last synced: 3 months ago
JSON representation

Built In Auth(Google,Git & Custom Password),session management, graphql api , prisma db(Postgres/mySQL/mongoDB)

Awesome Lists containing this project

README

          


Fullstack GraphQL Monorepo


A modern, powerful fullstack monorepo built with Next.js, GraphQL, Prisma, and Docker.
Fully typed, scalable, and production-ready architecture for building robust SaaS products.



Authentication



Seamless auth using NextAuth supporting:




  • OAuth Providers (Google, GitHub, etc.)


  • Custom Email + Password flow


  • Session-based server protection




Database



Built with Prisma ORM and supports:




  • PostgreSQL / SQLite


  • Safe typed queries


  • Auto migrations and seeding




GraphQL API



API built using Nexus (code-first schema) integrated with Prisma context:




  • Modular schema structure


  • Auth-aware resolvers


  • Runs inside /api/graphql route




Monorepo Architecture



A well-structured monorepo-like layout:




  • src/app – Next.js App Router pages


  • graphql/ – GraphQL schema & resolvers


  • lib/ – Shared server-side logic (auth, mail, context)


  • prisma/ – DB schema and migrations




Docker Ready



Easily deployable with Docker and supports CI/CD integrations. Local or cloud database can be used, with environment-aware secrets via example.env.