This is a solution to the URL shortener project on roadmap.sh : https://roadmap.sh/projects/url-shortening-service
This is a simple URL shortening service built with FastAPI, SQlite, and SQLAlchemy. The service allows users to create, retrieve, update, and delete shortened URLs, as well as track the usage statistics of each shortened URL.
- Shorten URLs: Generate a unique, shortened version of any URL.
- Retrieve URLs: Look up the original URL using the shortened code.
- Update URLs: Modify the original URL associated with a shortened code.
- Delete URLs: Remove shortened URLs from the system.
- View Stats: Track how many times a shortened URL has been accessed.