Najmi's URL Shortener (BEM Unsoed Edition)
Key Features
- Custom Slugs: Create short links with your desired name (e.g., bem-unsoed.com/oprec).
- QR Code Generator: Generate and download a QR Code for every short link created.
- Database Management: Manage, update (edit links/passwords), and delete existing links through an intuitive admin interface.
- Complex URL Support: Supports shortening complex URLs with long query parameters (such as UTM tags or share links).
- Admin Verification: Extra security with a password system to ensure only authorized admins can create or edit links.
- Glassmorphism UI: A modern interface with an elegant and dynamic glass effect, built using custom components.
- Click Tracking: Track the number of clicks on each link in real-time.
- Institutional Branding: Integrated with the visual identity of BEM Unsoed.
- Responsive Design: A seamless user experience on both desktop and mobile devices.
Tech Stack
- Frontend: Next.js 16 (App Router)
- Styling: Tailwind CSS 4
- Database & Auth: Supabase
- UI Components: Radix UI & Motion (Framer Motion)
- Form Validation: React Hook Form & Zod
- Utilities: QRCode.react, Sonner, Lucide Icons
Getting Started (Local Development)
1. Prerequisites
- Node.js (latest version recommended)
- NPM or PNPM
2. Installation
Bash
3. Environment Variables Configuration
Env
4. Running the Server
Bash
Project Structure
- src/app: Next.js Routing (Home, Shortener, Database, QR Generator, Contact, and Dynamic Redirects).
- src/components: Custom UI components, including the Glassmorphism design system and Dock navigation.
- src/lib: Supabase configuration, utilities, and constants.
- public: Static assets like logos and icons.
