System Architecture
The Komuta architecture is designed for maximum scalability and developer productivity.
Core Stack
- Frontend: React Router 7 (Vite-powered, SSR/SSG ready)
- Edge Runtime: Cloudflare Workers & Pages
- Database: Supabase (PostgreSQL) with Row-Level Security (RLS)
- Caching: Cloudflare KV for global tenant and schema registry
- Styling: Tailwind CSS v4
Multi-Tenancy Logic
Komuta uses a centralized "Enforcer" proxy to automatically inject tenant isolation into every database query. This ensures that no data leaks between tenants while maintaining a single, easy-to-manage codebase.
Dynamic Schema Engine
Our "Mimar" utility synchronizes database tables with dynamic collections defined in the CMS. This allows developers or admins to add new fields and sections to the platform in real-time.