Linkly

Tech Stack

Next.js, React, MongoDB, Mongoose, TypeScript

Role

Creator & Full Stack Developer

Date

2026

Linkly is a custom-built URL shortening platform designed to transform long, unwieldy web addresses into clean, personalized, and memorable links. Developed as a personal project, it serves as a lightweight, high-performance utility for seamless link management and branding.

About Linkly

Linkly Dashboard Interface
[The Concept]

Simplifying the Web

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.

Long URL vs Linkly URL comparison
[Backend Architecture]

The Redirection Engine

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.

[Frontend Experience]

Minimalist & Reactive

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.

System Pipeline

[01]

Data Modeling

Designed a lean Mongoose schema storing just the essential data points: the original URL, the unique alias, and an auto-generated timestamp.

[02]

API Engineering

Built RESTful Next.js API routes to handle link generation, ensuring robust backend validation prevents duplicate aliases from being created.

[03]

Dynamic Routing

Configured Next.js dynamic routing to listen for wildcard parameters `[alias]` and resolve them against the database in milliseconds.

[04]

Client Integration

Connected the React frontend to the API via asynchronous fetch requests, providing instant UI feedback on successful link generation.

[Outcome]

A Flawless Personal Utility

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.

<50ms

Average Redirect Time

100%

Custom Branded Links

O(1)

Database Lookup Efficiency