fredricknyangau/broiler_management_app_backend — reverse-engineered prompt
Reverse engineered prompt
Build me the backend API for a broiler farm management system.
I want it to let a mobile app or frontend manage broiler farm data through clean API endpoints, with secure login using Google SSO and JWT style authentication. It should store everything in PostgreSQL, use Redis and background workers for async jobs, and include proper database migrations. Please make it production ready, with a health check endpoint, strict security headers, safe environment variable setup, and Docker support so I can run the API, database, Redis, and workers locally with compose.
Use FastAPI and Python, and set it up so local development is easy, with automatic docs available in the browser. Include a sample env file, startup script, migrations setup, basic tests, and deployment friendly configuration for a cloud host like Render. Make sure secrets are not hardcoded, and add a helper for generating a secure secret key. Look up current docs online if you need to.
Want more depth? Deep Reverse