bestagon
  • Concepts
  • Tutorial
    • Architectural overview
    • Aggregate
    • Application
    • Projection
    • Event-Sourced System
    • Serving with FastAPI
  • Support
  • Examples
bestagon
  • Tutorial
  • View page source

Tutorial

This chapter shows how to start to develop event-sourced applications with bestagon.

Tutorial:

  • Architectural overview
    • System
    • Applications and Projections
    • Aggregate
  • Aggregate
    • Domain events
    • Types registration
    • Initialization of the aggregate
    • Aggregate ID
    • Aggregate creation
    • Adding business logic
  • Application
    • Application name
    • Event-sourced repository
    • Checkpoint store
    • Defining use cases
    • Reaction to events
  • Projection
    • Creating abstract interface
    • Query handlers
    • Initialization
    • Populating projection
    • Querying projection
    • Dropping projection
  • Event-Sourced System
    • Defining the system
    • System initialization
    • Routing commands and queries
  • Serving with FastAPI
    • System configuration
    • FastAPI instance and system initialization
    • Defining endpoints
    • Serving the system
Previous Next

© Copyright 2026, Aleksandr Antonov.

Built with Sphinx using a theme provided by Read the Docs.