Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Url Short App

Url shortener is a url shortening web service, which provides short aliases for redirection of long URLs.

Tech

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

Installation

Requires docker and docker enginer Build project with docker compose and run

docker compose build
docker compose up

Migrate Database with Flask cli

flask db init
flask db migrate -m "Url shortener first migration."
flask db upgrade

Run Flask tests at project root

pytest

API Swagger

Swagger url is "/doc" at project

alt text

Features

  • Short url
  • Count url view
  • Url list at project with view count

License

MIT

About

Flask url shortener app

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages