Architecture

A traceable architecture for extensible AI admin software.

Gatework Studio combines Next.js, TypeScript, Supabase, Clerk, Drizzle, JSON Schema Forms, and Trigger.dev into a structured project foundation.

Application layer

Next.js App Router, layouts, server components, and API routes define the application structure.

Framework core

Auth resolvers, registry, navigation, layouts, form patterns, and server actions live in the core area.

Module layer

Business areas are implemented as modules with config, page, schema, and project logic.

Data layer

Supabase/PostgreSQL, Drizzle schema, tenant tables, and JSONB data form the persistence base.

Pipeline layer

Trigger.dev tasks structure processing steps for sources, documents, and chunks.

Extension layer

Client projects add custom modules, integrations, workflows, and branding.