This application is entitled URL Shortener Site. This is a simple web-based application developed in Python and Django Framework. The application allows the users to generate a short link or URL for the Long URLs. This works like the famous Bitly: URL Shortener site where users can shorten or create a custom URL for their site. This application has a simple and pleasant user interface with the help of the Bootstrap Framework. It also consists of simple and user-friendly features and functionalities
This was developed using the following Libraries:
This URL Shortener Site Project is accessible to anyone. It doesn't require the user to register or to log in to gain access to the features and functionalities. For Shortening a URL, the application requires the users to enter the original link and enter the random or custom link key. The shorten key field could be a string or integer. The system prevents the duplicate key to avoid conflicts for redirecting or browsing to the site using the shortened link. All of the shortened links are listed on the URLs Page of the system and the page has a pagination feature that limits the page data to 5 items.
The system source code is free to download on this project and only for educational purposes only. The source code is not that so tricky which means not that difficult to understand. Feel free to download and modify the source code the way you wanted.
zip
file. (download button is located below)cd C:\Users\Personal-23\Desktop\django_url_shortener
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
http://localhost:8000/
or http://127.0.0.1:8000/
Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred.
SuperUser/Admin
Username: admin
Password: admin123
http://127.0.0.1:8000/admin
for the Django's Admin Site.
That's it! I hope this will help you with what you are looking for. Maybe you'll find this URL Shortener Site useful and can help you with your future Python Django Projects.
Explore more on this website for more Free Source Codes and Tutorials.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.