App can be accessed from https://shortifyapp.herokuapp.com.
Demo video can be found at https://www.youtube.com/watch?v=YQn-Yq5kJXk
Shortify is a URL shortening service. The application accepts long URLs and turns them into short URLs for easy use and Sharing. Registered users can provide customized short URL’s . Additionally, the user can update or delete the shortened URL at will.
#Application Features.
- Shortens a long URL to a much shorter URL that is easier to remember
- Provides a list for most active Users based on their number of shortened URLs
- Provides a list of popular shortened URLs by how many times they have been clicked.
- Provides a list of shortened URLs by how recent they were created.
- User is able to edit the customized URL.
- User can activate and deactivate shortened URL at will
- User can delete shortened URL at will
- Python3.6
- PostgreSQL
- Flask
-
Clone the application to your local machine:
$ git clone https://github.com/Awesome94/shortify.git.
-
Navigate to the shotify directory.
$ cd shotify.
-
Create a Virtual enviroment and Install the dependencies.
$ mkvirtualenv shortify.
$ pip install -r requirements.txt.
-
Setup database and seed data.
set_up postgres on your local using the following steps http://bit.ly/1v7Cu0l
$ python manage.py db init
$ python manage.py db upgrade
-
Start the server.
$ python app.py
Visit http://localhost:5000 to view the application on your preferred web browser.
Run the following command from the terminal in the root folder of the app to get all tests running
$ python -m unittest discover
End.