04 / JAVA · SPRING · POSTGRESQL
URL
Shortener
SHORTENERINPUTCORESTATEOUTPUTTRACE
A small product with a complete loop.
The project takes a long URL, persists a generated six-character code, redirects requests and keeps a click count. It also exposes health information and a lightweight dashboard.
The interesting part is not the shortening itself; it is the complete lifecycle around it — persistence, uniqueness, redirect behaviour, observability and a simple interface for seeing the system work.
Request lifecycle
CREATE → PERSIST → REDIRECT → MEASURE
LONG URL
↓
aB72xK
↓
302 REDIRECT
↓
CLICK COUNT +1
A short code becomes the stable handle for redirecting and measuring usage.
6CHARACTER CODE
302REDIRECT PATH
+1CLICK METRIC
BACK TO WORKAll projects ↗