Skip to content

A simple Django project to implement an URL Shortening service.

Notifications You must be signed in to change notification settings

PraneethKarnena/django-url-shortener

Repository files navigation

Django URL Shortener

A simple Django project to implement an URL Shortnening service. An API service for shortening links programmatically.

Tools:

  • Django
  • Django Rest Framework
  • Ajax

Demo: https://url-shortener-drf.herokuapp.com/

API: URL: https://url-shortener-drf.herokuapp.com/api/shorten-url/ Method: POST Body:

{
"url": "https://www.google.com/"
}

Run:

  • Clone the project
  • Do cd <project-folder> and pip install requirements.txt
  • Run python manage.py makemigrations and python manage.py migrate
  • Deploy test server: python manage.py runserver

Releases

No releases published

Packages

No packages published