View Live Demo

URL Shortener & Analytics Platform

A production-grade URL Shortener & Analytics Platform designed to demonstrate core Software Development Engineering (SDE) concepts. Built with Python (Flask), PostgreSQL, SQLAlchemy ORM, JWT Authentication, and modern HTML/CSS/JS, this platform provides reliable link shortening and in-depth traffic analytics.

URL Shortener & Analytics Platform Demo

๐Ÿš€ How It Works (System Flow)

1. Creating a Short URL

When a user enters a long URL via the frontend, a POST /api/urls request is sent to the Flask Backend. The system uses a Base62 Algorithm (converting the Database ID into a short string using 62 alphanumeric characters) to generate a unique short code, saving the mapping in the PostgreSQL database.

2. Visiting a Short URL (Redirection & Analytics)

When a user visits the generated short URL (e.g., /aB72x), the backend searches for the original target in the database and verifies its expiration status. Concurrently, it parses the HTTP request to extract metadata (Browser, OS, Referrer, IP) and records this in the clicks table to increment the counter, before triggering an HTTP 302 Redirect to the target.

๐Ÿ› ๏ธ Technology Stack & SDE Concepts

๐Ÿ—„๏ธ Relational Database Schema

The platform uses a well-structured relational design:

๐Ÿ“ก REST API Documentation

Authentication APIs

URL Management & Analytics APIs

๐Ÿงช Try It Live & View Code

Click here to launch the live Platform

View the complete codebase on GitHub


๐Ÿ”— Connect with Me
๐ŸŒ www.tauqueeralam.com
๐Ÿ“ฑ LinkedIn | GitHub

View the live demo below:

View Live Demo

Discussion