
Standard URLs are often long, complex, and visually unappealing when shared. While commercial shorteners exist, they often restrict custom aliases behind paywalls or lack a personal touch. I built Linkly to solve this locally: a fast, personal utility that allows for complete control over the link structure, ensuring every shared URL is concise and instantly memorable.

The backend logic is driven by highly optimized Next.js API routes connected to a MongoDB database. When a user creates a link, a Mongoose schema maps their chosen custom alias (e.g., 'portfolio') to the original long URL. When a visitor hits `linkly.adilfarooq.dev/:alias`, a Next.js dynamic route captures the parameter, queries the database for the exact match, and executes a lightning-fast server-side redirect to the destination, ensuring zero latency.
The user interface was built using Next.js and React, taking advantage of its powerful routing and optimized rendering capabilities. I designed a minimalist interface where users can paste a link, type their desired alias, and generate their custom URL instantly without any unnecessary page reloads or complex onboarding.
Linkly functions exactly as intended: a robust, personal tool that streamlines how I share content across the web. It stands as a practical demonstration of full-stack Next.js proficiency, showcasing how clean server-side logic and a minimalist frontend can combine to solve an everyday problem elegantly.
Average Redirect Time
Custom Branded Links
Database Lookup Efficiency