ChhotaLink
AI · Backend · Full-stackA URL shortener with real auth, verified email, and AI summaries of where a link actually goes.
Short links are trivial to create and easy to abuse. Doing it properly means collision-free shortcodes, real user accounts, verified emails, and ideally a way to know what's behind a link before you click it.
A complete backend: unique shortcode generation with duplicate validation, fast redirection, and a dashboard for link tracking, profile management and pagination — with a responsive server-rendered UI.
JWT auth with access and refresh tokens over HTTP-only cookies, plus token-based email verification with expiry and resend. Queries are type-safe through Drizzle ORM on MySQL, with Zod validating every request and proper HTTP status codes on failure.
AI URL summarization via the Google Gemini API — run as asynchronous background processing so summaries never block the request path. Redirects and pages stay fast while the summary fills in behind them.
Designed and built the whole thing solo — data model, API, auth, email flow, AI integration and dashboard.