Skip to content

jhyeep/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

A simple URL shortener web app made with Django.

More Info

The shortener takes in a URL input, hashes it and saves both the URL and the hash as an entry in a Postgres database.

The shortened link is displayed as [domain]/[hash]. Accessing the link will redirect the user to the corresponding URL, based on the hash.

Important Files

  • urlapp/models.py: Fields for database entries

  • urlapp/views.py: API

  • urlapp/static/scripts.js: JQuery code for frontend

  • urlshortener/urls.py: URL paths

  • tests.py: Unit tests - run using python manage.py test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published