Premium, High-Performance URL Shortener & Analytical Link Tracker
Dynamic Analytics Timeline • Glassmorphism Aesthetics • Brevo OTP Auth • MongoDB Atlas Cloud Integration
Blazing URL Shortener is a feature-rich web application designed and branded by Alok. The application allows users to shrink long, complex web addresses into brief, memorable links with optional custom alias backhalves.
It includes an interactive glassmorphic dashboard featuring detailed, real-time analytics reports. The application tracks total clicks, unique visitors, browser user agents, device types, referrers, and timeline activity. The platform incorporates a secure verification system via JWT and transactional email codes using Brevo (formerly Sendinblue).
| Feature | Description |
|---|---|
| 🔥 Instant Link Shortening | Standard shortening using secure, collision-free nanoid hashes. |
| 🏷️ Custom Alias backhalves | Customize your links with custom names (e.g. blazing/promo-2026) for branding campaigns. |
| 📊 Advanced Clicks Timeline | Interactive SVG timeline visualizer graphing click traffic over time. |
| 🌐 User-Agent analytics | Exhaustive click tracking breaking down visitors by web browsers, operating systems, devices, and referral urls. |
| 🔑 Brevo Transactional Emails | Safe user registration and password recovery using numeric One-Time Passwords (OTPs) dispatched via Brevo's REST API. |
| 🛡️ JWT & Route Security | Secure JWT bearer tokens allowing only link owners to view analytics reports or delete links. |
| 💎 Glassmorphic UI Theme | Beautiful dark-mode user interface using custom HSL styles, subtle shadows, and responsive layouts. |
- Frontend Core: React 18, Vite, Lucide Icons
- Backend Server: Node.js, Express.js
- Database Layer: MongoDB, Mongoose ODM
- Email Delivery: Brevo (SMTP/HTTP API)
- Styling: Vanilla CSS (Custom Glassmorphism styling system)
- Token Verification: JSONWebToken, BcryptJS
├── backend/
│ ├── src/
│ │ ├── config/ # Database connections
│ │ ├── controllers/ # Route handler controllers (Auth, URLs)
│ │ ├── dao/ # Data Access Objects (User, OTP, URL)
│ │ ├── middleware/ # JWT verification middleware
│ │ ├── models/ # Mongoose schemas (User, OTP, URL)
│ │ ├── routes/ # Express route mappings
│ │ └── services/ # Transactional services (Brevo email service)
│ ├── app.js # Express backend startup entry
│ └── package.json
│
├── frontend/
│ ├── public/ # Static assets
│ ├── src/
│ │ ├── components/ # React components (Header, Forms, Catalog, Charts, Auth)
│ │ ├── App.jsx # Main dashboard layout
│ │ ├── index.css # Global glassmorphism design system
│ │ └── main.jsx # Vite entrypoint
│ ├── vite.config.js # Vite compilation rules
│ └── package.json
PORT=5000
MONGODB_URI=mongodb://localhost:27017/blazing-url-shortener
JWT_SECRET=your_jwt_secret_key
FRONTEND_URL=http://localhost:5173
# Brevo Email Configuration (For live signup/reset emails)
BREVO_API_KEY=your_brevo_api_key_here
BREVO_SENDER_EMAIL=no-reply@yourdomain.com
BREVO_SENDER_NAME="Blazing URL Shortener"# Navigate to the backend directory
cd backend
# Install dependencies
npm install
# Create and populate .env file
cp .env.example .env
# Run development server
npm run dev# Navigate to the frontend directory
cd ../frontend
# Install dependencies
npm install
# Build & launch Vite dev server
npm run devOpen http://localhost:5173 in your browser to interact with the dashboard.
- Backend: Deploy the
backend/subdirectory to Render as a Web Service. Configure your environment variables in the dashboard. - Frontend: Deploy the
frontend/subdirectory to Vercel. DefineVITE_API_URLpointing to your deployed backend URL. - Database: Set up a free cluster on MongoDB Atlas and feed the connection string to
MONGODB_URIin Render.
Made with 💖 by Alok