destroxx/devops-url-shortener ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple URL shortener web app with a clean API and a polished DevOps setup around it.

It should let me paste in a long URL and get back a short link, then redirect users when they visit that short code. I also want a stats endpoint so I can see how many times a link was clicked, plus health, readiness, and metrics endpoints for deployment monitoring. Make the app work locally with Docker Compose, and also run fine with a normal Python setup using environment variables and a default SQLite database if nothing else is configured.

Please include tests, sensible logging, and a basic docs page for the API. I’d also like the full production style setup around it, with a Dockerfile, GitHub Actions CI/CD, Kubernetes manifests, Terraform infrastructure, and Prometheus plus Grafana monitoring. If you need to check current docs or best practices while building it, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab