Shortly URL Shortener


Project Brief


Project timeline
May - July 2025
Project
Type
Personal
Project
Team
Full Stack Developer
Partho
Mal
My Role
Frontend Developer
Backend (Go)
API Integration
Authentication
Deployment

Secure and minimal URL shortener with user auth and analytics.

Shortly is a modern and privacy-conscious URL shortener built with Next.js 15 and Golang (Gin). It offers secure user authentication, custom shortlink management and real-time click analytics.

The frontend is crafted using ShadCN UI and Tailwind CSS, ensuring a fast and responsive interface. PostgreSQL stores user and link data, while Redis (Upstash) is used for blazing-fast slug-based redirects and efficient rate-limiting.

Key features include:
- JWT-based user authentication
- Custom shortlink creation, editing, and deletion
- Expiration time setting for each short URL
- Rate-limiting to prevent abuse (powered by Redis Upstash)
- Ultra-fast slug redirects using Redis caching
- Session & cookie support
- Clean and responsive design with ShadCN components

Tech Stack: Go (Gin), Next.js 15 App Router, Redis (Upstash), PostgreSQL, Railway, Vercel, ShadCN UI, Tailwind CSS