Url shortener is a url shortening web service, which provides short aliases for redirection of long URLs.
Url shortener uses a number of open source projects to work properly:
- Python - Programming language
- Flask - Web framework
- Docker - Virtualization and build solutions
- PostgreSQL - Open source object-relational database system
- SQLAlchemy - Python SQL toolkit
Requires docker and docker enginer Build project with docker compose and run
docker compose build
docker compose upMigrate Database with Flask cli
flask db init
flask db migrate -m "Url shortener first migration."
flask db upgradeRun Flask tests at project root
pytestSwagger url is "/doc" at project
- Short url
- Count url view
- Url list at project with view count
MIT
