Ten small steps take you from an empty folder to an orders API and a shipping worker that never lose an event and never process one twice, built by hand with EF Core, PostgreSQL and RabbitMQ. Each step is a git commit you can read, run and compare.
Save orders and their events in one transaction, publish them to RabbitMQ and consume them exactly once in effect.
Add retries and dead-lettering, safe concurrent publishers, end-to-end tracing, health checks and cleanup.