A web application made using Python 3, Django 2 and Bootstrap.
Application gets url from user, shortens it and saves to database: full url, short url and creation date.
- shortens provided URL
- redirects user to original page when provided short url
- Python 3.7
- Django 2.2
- PostgreSQL
- Bootstrap
To run this project:
- Rename settings.ini.example to settings.ini and fill required fields.
- Install required libraries using pip:
$ pip install -r requirements.txt
- Create PostgreSQL database and configure it in setting.py
- Make database migrations:
$ python manage.py makemigrations
$ python manage.py migrate
- To run your local server use command:
$ python manage.py runserver