bxcodec/go-clean-arch ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go web app that follows clean architecture and lets people work with articles. I want the code split clearly so the business logic stays separate from the database and HTTP layer, and it should be easy to test without needing the web server or MySQL every time. Use the existing article schema and make sure the app can run locally with Docker Compose, reads settings from an env file, and supports hot reload while developing.
The main thing I need is an API that can list articles at a /articles endpoint, and the project should also include tests and a simple way to run them. Keep the structure easy to understand, with separate layers for models, repository, use case, and delivery. If you need to, look up current docs online for any Go libraries or setup details.
Are you gonna build this?
make sure you review the code using coderabbit