ClickIt

Distributed URL shortener built for high-concurrency redirects — Go CQRS services, Kafka click analytics, Redis/Mongo read paths, and an SRE-minded architecture that isolates traffic spikes from management APIs.

GoCQRSKafkaRedisMongoDBNext.jsOpenAPIDocker
ClickIt

About

ClickIt is an enterprise-grade distributed URL shortening and analytics platform designed so viral redirect load cannot take down billing, auth, or dashboards.

Architecture CQRS planes separate the redirect hot path from management APIs. Click events flow through Kafka for durable, replayable analytics. Supporting services include a key-generation service (KGS), purge workers, redirect engine, management API, and Next.js user/admin webs.

Backend (Go)

  • Management API with OpenAPI 3.1 contract, JWT + API-key auth
  • Redirect service isolated from write-heavy management databases
  • Kafka-buffered click analytics with async workers
  • Redis caching and Mongo-oriented read models on the hot path
  • SSRF sanitisation and internal-CIDR blocking on link creation

Ops & quality

  • Multi-service Docker Compose stacks for Redis, Mongo, and audit scenarios
  • OpenAPI CI gates (Spectral lint + oasdiff breaking-change checks)
  • TaskMaster-driven delivery across the ClickIt service repos