Skip to content

A URL shortener is a simple tool that takes a long URL and turns it into a simpler URL that is easy to handle. It’s much simpler to share a short and memorable URL than a lengthy one, especially when those lengthy URLs contain random numbers in them.

License

Notifications You must be signed in to change notification settings

aabir13/django-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL SHORTENER

It couldn't be any simpler than that

A URL shortener is a simple tool that takes a long URL and turns it into a simpler URL that is easy to handle. Since the dawn of the internet, links have been the way to get from one place to another online and precisely there still has no other way easier than that. But with the advent of a chunk of websites and links, each link gets lengthier and lengthier to maintain the uniqueness, hence a url shortener is one which tends to make our life easier. It’s much simpler to share a short and memorable URL than a lengthy one, especially when those lengthy URLs contain random numbers in them.


Technologies Used

The Url Shortener is built on the following technologies

  • Django - High-level Python web framework that encourages rapid development and clean, pragmatic design
  • Html - To create pages and make them functional
  • CSS - To describe the presentation of a document written in a markup language
  • AJAX - To make quick, incremental updates to the user interface without reloading the entire browser page. This makes the application faster and more responsive to user actions

Installation

The primary requirement includes the presence of python 3 in the systems along with a helpful and convenient Code Editor as per the user (VS Code recommended) Check the python version in your computer systems by running the following command in your shell

python --version

Install django for your system, if already available it confims its presence

pip3 install django

Development

Firstly in our command shell, we set up the django project to our desired location Run the following commands after the desired location is set

django-admin startproject urlshortener

Next up we open our file and create the app we shall be working on

cd shortener
django-admin startapp shortner

Now this sets up our project into our desired location and we can now open the same in our code editors and work on the same


Home Page

Functioning URL Shortener

Admin Login

Database


@author: aabir13

About

A URL shortener is a simple tool that takes a long URL and turns it into a simpler URL that is easy to handle. It’s much simpler to share a short and memorable URL than a lengthy one, especially when those lengthy URLs contain random numbers in them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published