Skip to content
jtertilPublic

About

URL's cutter webapp.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucu

URL's cutter webapp.

Why did I build this app?

I want to demonstrate, and improve my django skills. I tried to build possible most simple, fast and robust URL cutter, I can build within a couple of hours. The assumption was the public availability of shortened URLs, so there is no security here, anyone who knows BASE_SYMBOLS can download all addresses saved in the database.

How it works?

Check out live demo.

! Note that Heroku free hosting goes in suspended after a couple of minutes of inactivity, so please forgive me if the application starts with a few seconds delay.

  • conception diagram:

conception diagram

  • how custom base convert works:

convert

How it looks?

  • Nothing fancy, just bootstrap.

mockup1

mockup2

Main requirements:

  • accept URL from (anonymous) user
  • generate a shortened URL in the form <your domain>/<shortcut>
  • provide the shortened URL to the user
  • in the admin interface a list of all URLs with their short version should be visible
  • after going to your <domain>/<shortcut>, the application should redirect to the original address provided for shortening.

Technologies:

  • Django 2.2
  • PostgreSQL
  • gunicorn
  • Bootstrap

What I learnt?

  • Simple is better than complex.
  • Dealing with static files when deploying on Heroku Cloud was a kind of a pain in.. .

TODO

  • custom shortcuts for registered users
  • traffic monitor for registered users

About

URL's cutter webapp.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages