PulseForge — Production Event & Workflow Engine

PulseForge is the flagship incremental capstone project of the Backend Engineering Journey.

Instead of building 10 disconnected "to-do list" tutorials, you build and evolve a single, production-grade distributed backend platform across all six phases of the curriculum:


Directory Structure

pulseforge/
├── docs/
│   └── adr/                  # Architectural Decision Records
├── src/
│   └── pulseforge/           # Core Python package
│       ├── __init__.py
│       ├── domain/           # Pure business logic (entities, value objects)
│       ├── adapters/         # I/O drivers (DB, Redis, HTTP, CLI)
│       └── entrypoints/      # FastAPI, Django, Celery, CLI commands
├── tests/
│   ├── unit/                 # Fast, isolated domain tests
│   └── integration/          # Tests with Postgres, Redis, RabbitMQ
├── pyproject.toml
└── README.md

Milestone: v0.1 Specification (Phase 0)

In this milestone, you implement the core streaming engine for PulseForge:

  1. Stream gigabytes of JSON events from stdin or files in $O(1)$ memory.
  2. Validate against strict dataclass schema (EventBatch).
  3. Classify error spikes and emit structured diagnostics to stderr while passing clean events to stdout.
  4. 100% unit test coverage using in-memory Fakes and deterministic fixtures.