SySafarila/money_management ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple money management backend in Go that lets a user track their income and expenses, store the data in a database, and expose it through a clean API.
I want the basics working end to end, with controllers, services, repositories, models, and request and response DTOs wired together properly. Include configuration loading, database connection setup, and any middleware needed for things like request handling or auth if it makes sense. It should be easy to run locally with an example env file and a Docker setup if possible.
Please make it practical and polished, with endpoints for creating, listing, updating, and deleting money records, plus a way to see a simple summary of totals. If anything is unclear, make sensible assumptions and keep the code organized so it’s easy to extend later. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit