victorgregono/ApiDDD ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean starter API in C# using a layered DDD style setup, with separate projects for the API, application logic, domain, data access, services, and tests.

I want the app scaffolded so the layers are clearly split and easy to grow, with a simple working example showing how a request flows through the API into the application and domain layers, then into the data layer. Add a couple of basic endpoints, sensible folder structure, and enough sample code that I can understand how to add new features later.

Please keep it simple and readable, use good defaults, and make sure the test project has at least a few example tests so I can see how the solution is meant to be used. If anything needs current package or framework details, look up the latest docs online if needed.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab