fmdndr/online-ticketing-backend ? reverse-engineered prompt

Reverse engineered prompt

Build me an event ticketing backend in .NET 8 that feels production ready, with a simple API gateway in front and three services behind it for events, baskets, and payments.

I want users to be able to browse events, view one event, filter by category, add tickets to a basket, and check out. The checkout should be event driven, so reserving a ticket triggers payment through messages, and if payment fails the reservation gets rolled back. Please make it work with Docker Compose so I can start the databases, message broker, cache, and logging tools with one command.

Use MongoDB for event data, Redis for basket storage and locking, and PostgreSQL for payment records. Add Swagger for each service, structured logging, and a clean way to test the full flow through the gateway. If you need to check current docs for anything, feel free to look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab