Skip to content
Juan.
All projects

Wootric SaaS

Multi-tenant platform

19 permissions across 4 roles, behind an 11-step authentication middleware

The problem

True multi-tenancy is one of the hardest architectural problems in SaaS.

The solution

Wootric was built from the ground up with Next.js 16, Cloudflare Workers, and Supabase, across 18 development stages.

Highlights

  • 11-step authentication middleware: JWT, rate limiting, CSRF, RBAC, feature flags, quota check, audit log
  • Decoupled workers via Cloudflare Queues for Excel and PDF export to R2 and sync
  • Role-based access with 19 permissions across 4 roles