Help us improve the GitPulse documentation. Fill in the survey.

Developer Guide

  • For: Developer
  • Requires: A local environment, per the developer guide

Verified against the repository on 2026-09-09.

Quick orientation

flowchart LR
    Code["Code in src/app"] --> Tests["Tests"]
    Tests --> Gates["CI quality gates"]
    Gates --> MR["Merge Request"]
    MR --> Main["main"]

Where to find what

PathPurpose
src/app/apiroute handlers (API + dashboard)
src/app/servicesbusiness logic and integrations
src/app/workersbackground job processing
src/app/modelsSQLAlchemy models
src/app/schemasPydantic request/response DTOs
src/app/securityauth, CSRF, token utilities
src/app/observabilitylogging, metrics, tracing
tests/*unit, integration, load tests

Local setup

python -m venv .venv
# Linux/macOS: source .venv/bin/activate
# Windows: .venv\Scripts\Activate.ps1

pip install --constraint requirements.lock -e ".[dev,otel]"
docker compose up -d postgres redis
alembic upgrade head
uvicorn app.main:create_app --factory --reload

Required quality gates

ruff check src/ tests/ scripts/
ruff format --check src/ tests/ scripts/
mypy src/app
pytest tests/unit -q

CI definition:

  • .gitlab-ci.yml

API and contracts

  • route inventory: docs/04-api-spec.md
  • dashboard routes: src/app/api/dashboard.py
  • health/metrics: src/app/api/health.py
  1. Create a branch (feature/*, fix/*, refactor/*).
  2. Implement change + tests.
  3. Pass local quality gates.
  4. Open MR with impact and test notes.
  5. Merge after code review and green CI.

Documentation

  • internal docs: docs/*
  • docs site (SK/EN): docs-site/docs/*
  • system audit: docs/00_system_audit_2026-02-15.md