📌 URL Shortener with Web Interface
A simple yet powerful URL Shortener built using Python, Django, and the MVT (Model-View-Template) architecture. This application allows users to:
Enter a long URL and generate a shortened link (e.g., http://127.0.0.1:/)
Redirect from the shortened link to the original URL
Store and manage URL–short code mappings (supports both in-memory & database storage)
The project includes a clean and responsive web interface, ensuring a smooth user experience.
🚀 Features
Shorten any URL with a unique short code
Redirect users to the original URL via the short link
Persistent storage using Django’s ORM
User-friendly UI with a clean, minimal design
Dockerized setup for quick deployment with a single command
MVT architecture for maintainable and scalable code
🛠️ Technologies Used
Python – Core programming language
Django – Web framework following the MVT (Model-View-Template) pattern
HTML/CSS – For the frontend UI
Docker – Containerized application for easy setup and deployment
⚙️ Installation & Usage
git clone https://github.com/yourusername/url-shortener.git cd url-shortener
docker-compose up --build
The application will be available at: http://127.0.0.1:8000/
📂 Project Structure url_shortener/ │── shortener/ # Django app containing models, views, templates │── templates/ # HTML templates │── static/ # CSS & JS files │── manage.py │── Dockerfile │── docker-compose.yml │── requirements.txt