Back to projects

Redirects and analytics

ClipLink

A URL-shortening service with authenticated link management and redirect analytics.

ClipLink link-management interface

The problem

Long URLs are difficult to share and offer little visibility into how often a link is used. The system needed one place to create short links, manage them, and inspect redirect activity.

The approach

A Spring Boot service owns link creation, redirect resolution, analytics, and user management. The React interface exposes those capabilities while PostgreSQL persists link and account data.

System flow

System flow: React client to Spring Boot API to PostgreSQL.

Engineering decisions

Keep redirect logic in the API

Link resolution and analytics remain behind one backend boundary so redirect behavior is consistent across clients.

Use relational persistence

PostgreSQL provides a clear model for users, managed links, and their associated activity.

Separate management from redirection

The management interface can evolve without coupling its UI behavior to the public redirect path.

Challenges and tradeoffs

  • Keeping the public redirect path focused while still recording useful activity.
  • Presenting analytics without making link creation and management feel heavy.