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.
Seamless auth using NextAuth supporting:
- OAuth Providers (Google, GitHub, etc.)
- Custom Email + Password flow
- Session-based server protection
Built with Prisma ORM and supports:
- PostgreSQL / SQLite
- Safe typed queries
- Auto migrations and seeding
API built using Nexus (code-first schema) integrated with Prisma context:
- Modular schema structure
- Auth-aware resolvers
- Runs inside
/api/graphql
route
A well-structured monorepo-like layout:
src/app
– Next.js App Router pagesgraphql/
– GraphQL schema & resolverslib/
– Shared server-side logic (auth, mail, context)prisma/
– DB schema and migrations