Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ URLMinify App - Advanced URL Shortener with Analytics

URL Minify is a high-performance Full-Stack URL shortening application built with the MERN Stack. While part of a Full Stack domain, this project specifically showcases advanced Backend Engineering principles, including REST API design, database optimization, and real-time analytics tracking.

🌟 Key Features

  • Custom Short Codes: Users can define their own branded links.
  • Real-time Analytics: Tracks total clicks and last-clicked timestamps.
  • Data Visualization: Interactive charts using Recharts to monitor link performance.
  • Glassmorphic UI: Modern, responsive interface built with Tailwind CSS and Framer Motion.
  • Secure Architecture: Robust error handling and CORS configurations.

πŸ› οΈ Technical Stack

  • Frontend: React.js, Tailwind CSS, Framer Motion, Lucide React.
  • Backend: Node.js, Express.js.
  • Database: MongoDB (Atlas) with Mongoose ODM.
  • API Testing: Postman.
  • Deployment: - Frontend: Vercel (Optimized for Edge delivery).
    • Backend: Koyeb (High-availability Instance).

πŸ—οΈ Backend Architecture

The core of this project lies in its scalable backend:

  • Smart Hybrid Deletion: A robust fallback mechanism that identifies and deletes records using either MongoDB ObjectIDs or custom ShortCodes, ensuring zero-fail operations.
  • Atomic Increments: Efficiently updates click counts using MongoDB persistence.
  • Middleware Integration: Implements Express JSON parsing and CORS for secure cross-origin communication.

βš™οΈ How It Works (The Workflow)

  1. Request: Frontend sends the long URL to the Express server.
  2. Process: Server generates a unique shortId and stores it in MongoDB.
  3. Redirect: The server listens for the short code, increments the click counter in the DB, and redirects the user to the destination.
  4. Visualize: The Dashboard fetches all links and renders analytics in real-time.

✨ Developed by

Rehman-Dev288 Passionate Full-Stack Developer | Backend Specialist

πŸš€ Live Demo

About

A professional MERN stack URL Shortener with custom aliases and click analytics. Built for CodeAlpha Full Stack Development internship task.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages