/Url-Conversion

Convert long urls to short urls

Primary LanguagePythonMIT LicenseMIT

Url-Conversion

Converting long url to short url using databases

Setup

This application needs python to be installed, followed by the installation of pip pip installation, and the installation of MySQL MySQL installation is strongly recommended, but not necessary. Make the appropriate database changes for mydb variable on line 18.

Run the following command to install all dependencies needed.

$ pip install -r requirements.txt

Run the application from terminal by using the following command

$ python3 app.py

Usage

After the execution of the command python3 app.py, it will generate an endpoint on a local port. Access the endpoint from the browser of your choice.

Contributing

Do you want to make this better? Open an issue and/or a PR on Github. Thanks!

License

MIT License

Copyright (c) 2018 Deepak Nautiyal