DEV Community

Reda
Reda

Posted on

πŸš€ ExpenseTracker – A .NET 8 Microservices POC with Event Sourcing, RabbitMQ, and Kong Gateway

Hey devs! πŸ‘‹

I’ve been working on a proof of concept for a microservices-based expense tracking app to experiment with modern architectural patterns in .NET 8. Thought I’d share it here in case it helps others or sparks some discussion.

πŸ”§ Tech Stack

  • .NET 8, C#
  • Marten for event sourcing (PostgreSQL as event store)
  • Wolverine for messaging and CQRS
  • RabbitMQ for async communication
  • Kong Gateway for routing and API gateway management
  • Redis, Docker Compose, and Testcontainers for integration testing

βš™οΈ Features

  • Clean Architecture & DDD structure
  • Two main services:

    • ExpenseService handles commands like deposit/withdraw
    • AuditService listens to events and builds projections
  • Full local environment with Docker

  • Swagger UIs for each service

  • Health checks, testing setup, and more

πŸ“¦ GitHub Link

πŸ”— https://github.com/aekoky/ExpenseTracker

It’s a POC (not production-ready), but should be a useful reference if you're exploring:

  • Event-driven systems
  • CQRS/Event Sourcing in .NET
  • Service communication with RabbitMQ and Wolverine
  • Setting up integration tests with Testcontainers

Would love feedback or questions β€” happy to dig into implementation details!

Top comments (0)