Please have python3 installed to run this project on terminal: Python3 Installation
A URL Shortener is a tool that creates a short, unique URL that will redirect to the specific website of your choosing
Modules used in this app are Flask and PyShortener.
Steps:
Start MySQL and Apache server on Xampp.
Initialize Database schema by going to MySQL Server admin page by passing the queries in initialize.sql
Install the Virtual Environment module
pip install virtualenv
Create a virtual environment
virtualenv venv
Activate the Virtual Environment
venv\scripts\activate.bat
Install the required modules
pip install -r requirements.txt
Steps:
Run the app
flask run
Check out our Contributing Documentation
- First create issue for the task which you would like to contribute to by explaining your approach in it.
- Project maintatiners will assign the issue to you if it's worthy and not repeated.
- While creating pull request mention the issue number in it.
The first step is to register yourself on the Hacktoberfest website using your Github account and sign up as a student.
Find the open source repositories which interest and go try to pick up issues which you can solve.If you don't find one and think you can improve the codebase create a issue stating the problem you want to solve using the proper guidelines. Once the issue is assigned to you, code away till you resolve the issue 🤓 . Once you are done with the coding create a pull request by following the proper CONTRIBUTING.md file given in the repository. If the repository doesn't have one, make a pull request following the accepted rules in the open source community 🤗
You have to make 4 pull requests on any valid repositories. Once you make the pull request, there is a review period of two weeks. PLEASE MAKE QUALITY PULL REQUESTS AND NOT SPAM 😡 If you make spam pull requests your pull request will be deemed invalid/spam and you will be unelligible to win swag
Make 4 valid Pull requests in the month of October to be elligible for a limited edition T-shirt or plant a tree 😇. The first 50,000 winners are elligible for the prizes.
Login/Register:
A user can create an account by registering and later use the credentials to login to use our tool. Login/register credentials are stored in the MySQL database.
Url Shortener tool:
A user can shorten their(Long) Urls using our shortener tool by entering the url and assigning a nickname to it So that later when he checks the history they’ll get to know which link corresponds to which website.
History:
All the URLs shortened by a user are stored in the MySQL database which are later displayed in the history section.
Profile:
This page shows the user details and the user has an option to update his profile.