pandaSuvashis/shortly ? reverse-engineered prompt

Reverse engineered prompt

Build me a full stack URL shortener called SHORTLY.

I want people to be able to sign up, log in, paste in a full link, and get back a short shareable URL they can copy or open. Each user should see only their own saved links in a private history, and they should be able to delete links they no longer want. If someone visits a short link in the browser, it should redirect them to the original page without needing to log in.

Please make it with a React frontend and a Node and Express backend connected to MongoDB. Use secure login with an HttpOnly cookie and a signed JWT, and keep the session working after refresh. The UI should be simple and clean, with register, sign in, logout, show password, shorten URL, copy link, and your URLs sections. Use Axios for requests and make sure authenticated requests send cookies properly. If you need current docs for anything, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab