aneeshsunganahalli/urlX ? reverse-engineered prompt

Reverse engineered prompt

Build me a production inspired URL shortener called urlX.

I want a simple web app where someone can paste a long link, get back a short link, and then use that short link to redirect fast. It should save links in PostgreSQL, use Redis to make redirects really quick, and track basic click analytics like user agent data when a link is opened. Please include health check style endpoints for the database and Redis so I can tell if the app is ready.

I’d like it set up to run with Docker, with Nginx in front and the backend written in FastAPI. If it makes sense, add a small frontend too so there’s a clean page for shortening links and viewing results. Keep the design practical and scalable, and use a custom short code generation approach rather than simple counting. Look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab