I built this link shortening platform using Next.js + MongoDB + Redis for rate limiting. The main challenge was preventing abuse while keeping redirects fast. I avoided third-party analytics and implemented my own event pipeline..
You can check it out to know more about the app
Comments
Omakidx•1h ago
Hi HN
I built this as a learning project to explore rate limiting, analytics, and abuse prevention at scale.
Tech stack:
Next.js (App Router)
Postgres for persistence
Redis for rate limiting and click counters
Edge middleware for fast redirects
Interesting challenges:
Preventing link abuse without slowing redirects
Designing analytics without third-party trackers
Handling high write volume efficiently
It’s early and not production-ready — I’d really appreciate feedback on the architecture and any mistakes you spot.
Omakidx•1h ago
I built this as a learning project to explore rate limiting, analytics, and abuse prevention at scale.
Tech stack:
Next.js (App Router)
Postgres for persistence
Redis for rate limiting and click counters
Edge middleware for fast redirects
Interesting challenges:
Preventing link abuse without slowing redirects
Designing analytics without third-party trackers
Handling high write volume efficiently
It’s early and not production-ready — I’d really appreciate feedback on the architecture and any mistakes you spot.