<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Reda</title>
    <description>The latest articles on DEV Community by Reda (@reda_b15a77e13e7a300bfa7d).</description>
    <link>https://dev.to/reda_b15a77e13e7a300bfa7d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3271440%2F21c00fe3-9565-42ec-ae10-5fc0bd755224.png</url>
      <title>DEV Community: Reda</title>
      <link>https://dev.to/reda_b15a77e13e7a300bfa7d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/reda_b15a77e13e7a300bfa7d"/>
    <language>en</language>
    <item>
      <title>🚀 ExpenseTracker – A .NET 8 Microservices POC with Event Sourcing, RabbitMQ, and Kong Gateway</title>
      <dc:creator>Reda</dc:creator>
      <pubDate>Tue, 24 Jun 2025 12:12:20 +0000</pubDate>
      <link>https://dev.to/reda_b15a77e13e7a300bfa7d/expensetracker-a-net-8-microservices-poc-with-event-sourcing-rabbitmq-and-kong-gateway-10nm</link>
      <guid>https://dev.to/reda_b15a77e13e7a300bfa7d/expensetracker-a-net-8-microservices-poc-with-event-sourcing-rabbitmq-and-kong-gateway-10nm</guid>
      <description>&lt;p&gt;Hey devs! 👋&lt;/p&gt;

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

&lt;h3&gt;
  
  
  🔧 Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;.NET 8&lt;/strong&gt;, C#&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Marten&lt;/strong&gt; for event sourcing (PostgreSQL as event store)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wolverine&lt;/strong&gt; for messaging and CQRS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RabbitMQ&lt;/strong&gt; for async communication&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kong Gateway&lt;/strong&gt; for routing and API gateway management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redis&lt;/strong&gt;, Docker Compose, and Testcontainers for integration testing&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚙️ Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Clean Architecture &amp;amp; DDD structure&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Two main services:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;ExpenseService&lt;/code&gt; handles commands like deposit/withdraw&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;AuditService&lt;/code&gt; listens to events and builds projections&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Full local environment with Docker&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Swagger UIs for each service&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Health checks, testing setup, and more&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  📦 GitHub Link
&lt;/h3&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/aekoky/ExpenseTracker" rel="noopener noreferrer"&gt;https://github.com/aekoky/ExpenseTracker&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It’s a POC (not production-ready), but should be a useful reference if you're exploring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Event-driven systems&lt;/li&gt;
&lt;li&gt;CQRS/Event Sourcing in .NET&lt;/li&gt;
&lt;li&gt;Service communication with RabbitMQ and Wolverine&lt;/li&gt;
&lt;li&gt;Setting up integration tests with Testcontainers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Would love feedback or questions — happy to dig into implementation details!&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>backend</category>
      <category>eventdriven</category>
      <category>microservices</category>
    </item>
  </channel>
</rss>
