Full-stack URL shortener
A full-stack URL shortener with custom aliases, JWT auth, and a dashboard — short links redirect directly from your domain.

The problem
Long URLs look unprofessional and tell you nothing — and most shorteners either lack analytics or force you onto someone else's domain.
What I built
A Next.js 16 + PostgreSQL/Drizzle URL shortener with custom aliases on your own domain, link expiry, QR code generation, CSV export, and 14-day click analytics on a management dashboard. Authentication built from scratch — scrypt password hashing, short-lived JWTs, and rotating refresh tokens in HttpOnly cookies, no auth library. 57 Vitest unit tests guard the core logic, with GitHub Actions CI/CD deploying to Vercel.
Results