This repository contains hands-on system design case studies implemented in Node.js, inspired by concepts from Alex Xu's System Design Interview books!
- Learn system design by building real, working modules.
- Translate interview-level design ideas into production-style Node.js code.
- Keep each topic practical with runnable demos and tests.
Location: rate-limiter/
Includes:
- Multiple algorithms (only
token bucketimplemented for now..) - Config-driven rules
- Express demo server
- Smoke tests
Install dependencies:
npm installRun smoke tests:
npm testRun Rate Limiter Demo
Go to rate-limiter/ folder, then change the route configuration to set desired rate limiting. Then run demo server and test out the endpoint with your favourite API client!
node server.js- This is a learning-focused implementation project.
- Designs are inspired by Alex Xu's material and adapted into working Node.js modules.
- This project is built with heavy AI-assisted coding to implement and iterate system design case studies in Node.js quickly (I use codex!)