System Overview
Canonical sources
Do not duplicate
- Full setup instructions
- Complete feature lists
- Database schema details
- API endpoint details
The platform is a document intelligence monorepo with a React frontend, NestJS backend, Temporal worker, shared Prisma schema, and supporting packages. The wiki should use this page as a routing layer, not as a replacement for the top-level READMEs.
Primary Boundaries
- Backend services own REST APIs, document metadata, OCR orchestration, workflow configuration, training, HITL, auth, groups, and operational API behavior.
- The frontend owns the user workflow for document upload, labeling, workflow visualization, review, group context, and feature-specific administration.
- The Temporal worker owns durable DAG workflow execution and activity dispatch.
- Shared packages and the shared Prisma schema hold cross-app types, validation, and persistence contracts.
Related Topics
- Graph workflows: durable execution and activity boundaries.
- Blob storage: document bytes and artifact storage across services.
- Auth and groups: authentication and group scoping model.
- Deployment and ops: running the platform locally and in OpenShift.
Read First
- Use
README.mdfor platform overview, prerequisites, and root commands. - Use
apps/README.mdfor app-level responsibilities and development commands. - Use
docs-md/architecture/SHARED_PACKAGES.mdbefore extracting cross-app TypeScript code. - Use
apps/shared/prisma/schema.prismaas the source of truth for persisted models.
Common Drift Risks
- Top-level READMEs can drift from actual app boundaries as features move between backend, frontend, Temporal, and packages.
- Generated code under
apps/backend-services/src/generated/andapps/temporal/src/generated/should not be hand-documented as stable source. feature-docs/may describe intended behavior that has since changed in implementation.