vinaykataru/mern-url-shortener ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple URL shortener app where I can paste a long link and get back a short shareable link.

I want a clean frontend where someone can enter a URL, click a button, and see the shortened result right away. The app should also let me open the short link and redirect to the original page. If it makes sense, add a small list of recently shortened links with the original URL and the short version so I can copy them easily.

Set it up as a full web app with a frontend and backend, and make it feel polished and easy to use. Keep the code organized and working end to end, including the API for creating and resolving short links. If you need anything unclear, use current docs online and make sensible choices.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab