shivanand9019/url-shortener-system ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple URL shortener web app with a Spring Boot backend and PostgreSQL database.
I want users to paste in a long link and get back a short link, then when someone visits the short link it should redirect to the original URL. Please also track how many times each short link gets clicked and make an analytics page or simple dashboard that shows the original URL, short code, click count, and when it was created.
Please include the main API endpoints for creating a short link, redirecting from the short code, and viewing analytics. The app should have a clean, basic frontend for the homepage and analytics view, and it should be easy to run locally and deploy. If anything needs a current dependency or setup detail, look up the latest docs online if needed.