Why I open-sourced this:
I kept rebuilding the same setup for every new project β Next.js API routes, Prisma, Supabase, folder structure, and deploy steps. It was repetitive, and I wasted time deciding where code should live instead of building features.
So I packaged the pattern I actually use into one repo: layered backend, Redux for CRUD, Swagger docs, and a clear path to Vercel + Supabase Cloud.
I open-sourced it so I (and anyone else) can clone β customize β ship without starting from scratch every time.
If it saves you even one weekend of wiring, it was worth sharing.
What's included:
- Next.js 16 (App Router) + TypeScript + Tailwind
- Supabase Postgres (local Docker for dev, cloud for prod)
- Prisma 7 with layered API: route β controller β repository
- Redux Toolkit for client state and CRUD thunks
- OpenAPI + Swagger UI at
/docs - Reference CRUD module (
categories) β copy for new entities - Deploy to Vercel + Supabase Cloud β no separate backend server
- Clone, customize your schema, and ship
If this template helps you, leave a like on this post and a star on the repo β it helps others find it and keeps me motivated to improve it.
Repo: https://github.com/Gazzel16/nextjs-supabase-starter
Thanks for reading!
United States
NORTH AMERICA
Related News
π I Built a Dropshipping Automation Pipeline β Here's What I Learned (and What I'd Do Differently)
10h ago
How I Cut My LLM API Bill by 40x: A Freelancer's Migration Story
10h ago

Mattress Firm Coupons: Save up to $600
3h ago
Google Ordered to Pay $2 Billion For Anti-Competitive Practices By Swedish Court
20h ago
The Censorship Wall: Why Every AI Companion App Ends Up Filtering You
20h ago