Skip to main content

Repository Overview

Statux consists of seven repositories hosted in AWS CodeCommit, each serving a specific purpose.

Repository Summary

RepositoryPurposeTech StackClone URL
statux-apiBackend APIsNestJS, TypeScript, PostgreSQLcodecommit://statux-api
statux-webFrontend sitesStatic HTML/CSS/JS, Tailwindcodecommit://statux-web
statux-infraInfrastructureTerraform, AWScodecommit://statux-infra
statux-appMobile appFlutter, Dartcodecommit://statux-app
statux-relayCheck agentGocodecommit://statux-relay
statux-docsInternal documentationDocusaurus, TypeScriptcodecommit://statux-docs
statux-agentsClaude Code agentsMarkdowncodecommit://statux-agents

API Monorepo Structure

The statux-api/ repository is a NestJS monorepo with five applications:

  • apps/statuspages/ - Statux Pages API (port 3000)
  • apps/alerting/ - Statux Alerts API (port 3001)
  • apps/synthetics/ - Statux Synthetics API (port 3002)
  • apps/insights/ - Statux Insights API (port 3003)
  • apps/platform/ - Statux Platform API (port 3004)

And four shared libraries:

  • libs/common/ - Shared utilities, types, interceptors, Sentry, config loader
  • libs/auth/ - JWT strategy, guards, decorators, cookie auth
  • libs/database/ - TypeORM config, shared entities
  • libs/email/ - AWS SES email service (sendText, sendHtml)

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.