vinodjagwani/hello-fresh-menu-planning-service — reverse-engineered prompt
Reverse engineered prompt
Build me a menu planning API service for a HelloFresh Australia style assignment. I want a Go backend that lets someone manage menu plans through clean REST endpoints, store the data in Postgres, and expose Swagger so I can open a browser and try every API at localhost 8080.
Please include Docker and docker compose so it can run locally without lots of setup, plus simple config profiles for local, docker, test, and cloud style environments. Add basic auth with JWT if needed for protected endpoints, and include a Postman collection or clear examples for testing the APIs.
Keep the code organized in a clean domain driven or hexagonal style so the database code, business rules, and HTTP layer are not all mixed together. Also add a small integration test that proves the main menu planning flow works. Make sure I can run it with go run main.go or a make command, and generate Swagger docs.
Want more depth? Deep Reverse