Skip to content

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.

Notifications You must be signed in to change notification settings

dawidbudzynski/url_shortener_python_django

Repository files navigation

url_shortener_python_django

General info

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.

Main functions

  • shortens provided URL
  • redirects user to original page when provided short url

Technologies

  • Python 3.7
  • Django 2.2
  • PostgreSQL
  • Bootstrap

Setup

To run this project:

  1. Rename settings.ini.example to settings.ini and fill required fields.
  2. Install required libraries using pip:
$ pip install -r requirements.txt
  1. Create PostgreSQL database and configure it in setting.py
  2. Make database migrations:
$ python manage.py makemigrations
$ python manage.py migrate
  1. To run your local server use command:
$ python manage.py runserver

Demo

alt text

alt text

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published