URL Shortener is a project that shortens the URL and provides a unique short code for each URL. It is a simple project that can be used to shorten the URL even with custom code and use it in the place of the original URL.
This project is a simple URL shortener that shortens the URL and provides a unique short code for each URL. It is a simple project that can be used to shorten the URL even with custom code and use it in the place of the original URL. It uses firebase to store the URL and the short code in a mapping.
The project is developed using FastAPI which is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
A very Simple front end is also provided to shorten the URL which is developed using FastUI.
- Python 3.11
- Poetry
- Docker
Follow these steps to install the project on your local machine.
git clone https://github.com/AmulyaParitosh/UrlShortener.git
cd UrlShortener
poetry install
poetry run uvicorn main:app --reload
Or with Docker
docker-compose up