A monorepo for the CHAP Modeling platform, enabling predictive modeling and forecasting for health information systems. The primary application integrates with DHIS2 for disease forecasting and health analytics.
chap-frontend/
├── apps/
│ └── modeling-app/ # DHIS2-integrated application
├── packages/
│ └── ui/ # Component library + API client
└── .github/workflows/ # CI/CD pipelines
- Node.js 20.x or higher
- pnpm 10.x or higher
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Start development server
pnpm startpnpm linter:check # Run linting
pnpm tsc:check # Type checking
pnpm format # Format codeThe UI package includes an auto-generated TypeScript API client from OpenAPI specifications:
cd packages/ui
pnpm generate # Generate from a running backend at http://localhost:8000This project follows Conventional Commits:
fix:→ Patch releasefeat:→ Minor releaseBREAKING CHANGE:→ Major release
This project uses Changesets to manage versioning and changelogs.
When making changes that should be part of the changelog or released, create a changeset:
pnpm changesetThis will prompt you to:
- Select the packages affected by your change
- Choose the version bump type (patch, minor, or major)
- Write a summary of the changes
patch→ Bug fixes (1.0.0 → 1.0.1)minor→ New features (1.0.0 → 1.1.0)major→ Breaking changes (1.0.0 → 2.0.0)
Include the ticket number at the end of your changeset description when applicable:
Fixed the broken navigation link [CLIM-XXX]
BSD-3-Clause License for modeling-app, MIT License for shared packages.