Documentation Index
Fetch the complete documentation index at: https://grouple.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The backend API (server/index.ts) serves routes defined in server/routes/. It acts as a middleware layer between the frontend and external services (Bedrock, Textract), and handles operations that require server-side credentials or processing that shouldn’t happen client-side.
Route Files
server/routes/demo.ts
Current route definitions. The API is intentionally lean — most data operations go directly through the Supabase client on the frontend (with RLS enforcing security).
When Does the API Get Called?
The frontend uses the ECS API for operations that require:- Server-side credentials (Bedrock API keys, service role keys)
- Heavy processing (triggering AI workers, PDF processing)
- Webhook handling