Fetching latest headlines…
Next.js + Supabase Starter Template (Prisma, Redux, Swagger)
NORTH AMERICA
πŸ‡ΊπŸ‡Έ United Statesβ€’June 30, 2026

Next.js + Supabase Starter Template (Prisma, Redux, Swagger)

18 views0 likes0 comments
Originally published byDev.to

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!

Comments (0)

Sign in to join the discussion

Be the first to comment!