eddycjy/go-gin-example ? reverse-engineered prompt

Reverse engineered prompt

Build me a blog backend API in Go using Gin, with clean layered structure and real world practices.

I want login with JWT, protected admin endpoints, and full CRUD for articles and tags. The article list should support paging, search style filters if they fit naturally, caching for reads, and soft delete. Please also include image upload, generating an article poster with a QR code, and basic Excel import and export for data management. It should have MySQL as the main database, Redis for cache, and Swagger docs so I can easily test the API endpoints.

Make it feel production ready, with input validation, consistent JSON responses, and clear error handling. If you need to check current docs or best practices for any dependency, look them up online. Also include a simple way to run it locally and with Docker, plus default config files so I can get it working quickly.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab