Skip to content

Welcome to URLSnipper, your powerful URL shortener project built using Python, Django, and MySQL. This repository is your one-stop solution for creating and managing shortened URLs with ease.

Notifications You must be signed in to change notification settings

venkatasaikarthikeya/URLSnipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL-SNIPPER

URL-SNIPPER is a URL shortener project built with Python, Django, and MySQL.

Features

  • Shorten long URLs to a shorter, more manageable format.
  • Redirect users to the original URL when they visit the shortened URL.
  • Track the number of clicks and other analytics for each shortened URL.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/url-snipper.git
  2. Create a virtual environment:

    python3 -m venv env
  3. Activate the virtual environment:

    • For Windows:

      .\env\Scripts\activate
    • For macOS/Linux:

      source env/bin/activate
  4. Install the dependencies:

    pip install -r requirements.txt
  5. Set up the database:

    • Create a MySQL database and update the database settings in url_snipper/settings.py.
  6. Apply database migrations:

    python manage.py migrate
  7. Start the development server:

    python manage.py runserver
  8. Open your browser and visit http://localhost:8000 to access the URL-SNIPPER application.

Usage

  • To shorten a URL, enter the long URL in the input field on the homepage and click the "Shorten" button.
  • The shortened URL will be displayed on the page. Users can copy and share this URL.
  • When a user visits the shortened URL, they will be redirected to the original URL.

About

Welcome to URLSnipper, your powerful URL shortener project built using Python, Django, and MySQL. This repository is your one-stop solution for creating and managing shortened URLs with ease.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages