Basic URL Shortener
This project is a very basic URL shortening service. It is able to handle up to 2,000,000 of short urls.
- Python 3.6
- Django 1.11
- PostgreSQL for DB in prod environment
- SQLite for DB in dev environment
- Vue.JS 2.3.0
- Clone the project
- Apply migrations with
python manage.py migrate
- Run application with
python manage.py runserver
- Open your browser at http://localhost:8000
- Run
python manage.py test
- Type URL you want to short
- Type a custom value (optional)
- Click on shorten button
- System will assign either a generated or custom short url
- Copy generated url by clicking on Copy button
- Just type at address bar the generated url
- Navigate to /all to see a list of all the saved urls