Shortly

ReactTypeScriptTailwind CSSNode.jsExpress.jsMongoDB
Shortly preview

overview.

Shortly provides developers and businesses with branded, trackable short URLs. Features include click analytics with timestamps, one-click clipboard copying, custom alias creation, and fast redirection. Built with React, Tailwind CSS, Node.js, Express.js, and MongoDB.

technical implementation.

Fast Redirection Service

Optimized database lookups with indexed unique slugs in MongoDB for sub-second redirection response times.

Analytics Aggregation

Tracked visit timestamps and total referral metrics per shortened link without client-side lag.

key features.

  • Instant custom URL generation with collision checks
  • Real-time click tracking with historical timestamp logs
  • One-click clipboard copying and redirect testing
  • Searchable and filterable dashboard of saved links
  • Clean RESTful API architecture

screenshots.

Shortly dashboard showing links and usage analytics

Shortly dashboard with link metrics.

challenges & solutions.

Challenge: Handling race conditions in slug generation under concurrent requests.

Solution: Enforced unique database indexes and retry mechanisms for collision-free aliases.