A lightweight, and simple URL shortener.
Used Gemini to help me write the website, as I have a poor knowledge of react framework.
A lightweight, and simple URL shortener.
Used Gemini to help me write the website, as I have a poor knowledge of react framework.
I made a simple url shortener as a fun project because I was boreed.
Created a frontend with the help of Gemini, used React as the framework and shadcn (https://ui.shadcn.com/) for the websites design. The website is really minimal, one input box, one button.
Log in to leave a comment
Made a backend in Python, used SQLAlchemy for database, validators to validate the url, and FastAPI for the entire backend communication. There are 2 endpoints, POST /u/ for making a new shorten url and GET /u/code which will redirect you to the url passed if the code exists.
Log in to leave a comment