Repository Overview
Statux consists of seven repositories hosted in AWS CodeCommit, each serving a specific purpose.
Repository Summary
| Repository | Purpose | Tech Stack | Clone URL |
|---|---|---|---|
statux-api | Backend APIs | NestJS, TypeScript, PostgreSQL | codecommit://statux-api |
statux-web | Frontend sites | Static HTML/CSS/JS, Tailwind | codecommit://statux-web |
statux-infra | Infrastructure | Terraform, AWS | codecommit://statux-infra |
statux-app | Mobile app | Flutter, Dart | codecommit://statux-app |
statux-relay | Check agent | Go | codecommit://statux-relay |
statux-docs | Internal documentation | Docusaurus, TypeScript | codecommit://statux-docs |
statux-agents | Claude Code agents | Markdown | codecommit://statux-agents |
API Monorepo Structure
The statux-api/ repository is a NestJS monorepo with two applications:
apps/divinux/- Divinux API (port 3003,divinux-api.statux.io). Hosts the alerting, synthetics, statuspages, and insights surfaces. Formerlyapps/insights/, renamed in Phase C.apps/platform/- Platform API (port 3004,platform-api.statux.io). Orgs, members, situations, billing, SSO/SCIM.
The former per-product apps — apps/statuspages/ (3000), apps/alerting/ (3001), apps/synthetics/ (3002), and apps/insights/ (3003) — were folded into apps/divinux/ (Phases C5/D5/E5, May 2026) and deleted from the repo on 2026-06-11. Their API hosts are NXDOMAIN. History lives in git.
And these shared libraries:
libs/common/- Shared utilities, types, interceptors, Sentry, config loaderlibs/auth/- JWT strategy, guards, decorators, cookie authlibs/database/- TypeORM config, shared entities (BaseEntity, Organization, Subscription, etc.)
Documentation Site
The statux-docs/ repository contains this Docusaurus documentation site, deployed to statux.io/docs/. Access is restricted to employees (requires is_employee = true in core.users table).
Claude Code Agents
The statux-agents/ repository contains custom Claude Code agents for development workflows:
- Scrum team agents: Scrum Master, Product Owner, Tech Lead, Developer, QA Engineer
- Specialist agents: Mobile App Developer, Principal Code Reviewer, Product/UX Designer
Install with cd statux-agents && ./sync.sh. See the agents README for usage.
See API Architecture for details on the API monorepo.