Project for learning how to create a API using FastAPI, implementing a shorening url generator. Base62 used for generating shortening url.
Description: https://roadmap.sh/projects/url-shortening-service
Deployed for testing: https://url-shortening-python-1-0-0.onrender.com/docs
Docker Hub: https://hub.docker.com/layers/fiwon123/url-shortening-python/1.0.0
- Python
- SQLite
- UV ( package manager )
- clone either using
git clone https://github.com/fiwon123/url-shortening-python.gitor download it - Use
uv syncto resolve dependencies - Use command standing on root folder to run API
uv run uvicorn src.main:app --reload - Access
http://127.0.0.1:8000/docson any browser to see all endpoints and testing - In case to test using an external API app is necessary to use
Bruno,Postmanor run by command linecurlfor example