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.
- 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.
- 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).
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.
- Request: Frontend sends the long URL to the Express server.
- Process: Server generates a unique
shortIdand stores it in MongoDB. - Redirect: The server listens for the short code, increments the click counter in the DB, and redirects the user to the destination.
- Visualize: The Dashboard fetches all links and renders analytics in real-time.
Rehman-Dev288 Passionate Full-Stack Developer | Backend Specialist
-
Live Demo: [https://urlminify-app.vercel.app/]
"Building scalable solutions and turning complex problems into simple, minified links." π