Nestjs Nextjs Supabase starter template

This is an opiniated starter template for a NestJS application with Supabase as the database.

  • pnpm
  • Nestjs API backend
  • Fastify as the server
  • Swagger for API documentation
  • Drizzleorm as the ORM
  • Supabase as the database
  • Nextauth for authentication with Supabase RLS
  • Nextjs frontend
  • Tailwindcss for styling
  • Shadcn for the UI components

Todo

  • migrate to monorepo
  • move shared types and utils to a shared package
  • create a basic API user model
  • create a basic dashboard layout as starting point

Demo model:

  • users

Inspiration & credits to