Skip to content

Releases: alysonsz/EventFlow-API

EventFlow API v2.0.0 - CQRS & Clean Architecture Implementation

09 Apr 20:47

Choose a tag to compare

EventFlow API v2.0.0 - Release Notes

Overview

Major architectural overhaul implementing Clean Architecture, CQRS, and Domain-Driven Design patterns for the EventFlow event management platform.

Key Architectural Changes

CQRS with MediatR

  • Full separation of Commands and Queries
  • Dedicated handlers for event management operations (Create, Update, Delete, Get)
  • Cross-cutting concerns handled via pipeline behaviors (validation, caching)

Result Pattern Implementation

  • Type-safe error handling with Result<T> and Result types
  • Support for multiple error categories (NotFound, Validation, Conflict, Unauthorized, Forbidden)
  • Implicit operators for seamless value-to-result conversions

Repository Pattern & Unit of Work

  • Repository abstractions for domain entities
  • Clear separation between read and write operations
  • Entity Framework Core integration with proper Unit of Work boundaries

Value Objects & Domain Model

  • Immutable value objects (PersonName, Email) encapsulating business rules
  • Proper EF Core owned entity configuration
  • Business rule validation at domain level

Clean Architecture Layers

  • Domain Layer: Entities, Value Objects, Domain Events, Business Rules
  • Application Layer: CQRS handlers, DTOs, abstractions, pipeline behaviors
  • Infrastructure Layer: Data persistence, external services (JWT, caching)
  • Presentation Layer: REST controllers, middleware, health checks

Quality & Observability

  • Testing: Comprehensive unit test coverage for handlers and domain logic
  • Monitoring: Health checks integration with UI dashboard
  • Logging: Structured logging with centralized log aggregation
  • Tracing: Distributed tracing support for request tracking

DevOps & Deployment

  • Containerization: Multi-stage Docker build
  • Orchestration: Docker Compose configuration with dependencies (SQL Server, Redis)
  • Published Image: docker.io/alysonsz/eventflow-api:v2.0.0

API Features

  • RESTful endpoints with standardized responses
  • JWT authentication with claims-based authorization
  • Consistent pagination across list endpoints
  • Input validation and error handling

v1.0.0 - Observability & Performance Update

20 Jan 13:28

Choose a tag to compare

🚀 v1.0.0 - Observability & Performance Update

This first major release transforms the EventFlow API into a high-performance, distributed system ready for enterprise scenarios.

🐳 Docker Image (Ready to Run)

You don't need to compile the code. Pull the production image directly:

docker pull alysonsz/eventflow-api:v1.0.0

🌟 Key Features

  • Distributed Caching: Implemented Redis with Cache-Aside pattern for high-speed reads.
  • Observability: Full OpenTelemetry integration with Jaeger for distributed tracing.
  • Logging: Structured logging via Serilog and Seq.
  • Resilience: Database connection resiliency with Polly strategies.
  • Containerization: Complete Docker Compose environment setup.

🛠️ Infrastructure

  • Added docker-compose.yml orchestrating API, SQL Server, Redis, Jaeger, and Seq.
  • Refactored startup logic using AppConfiguration extension methods.

🧪 Quality

  • Comprehensive Unit Testing with Moq and xUnit.