Skip to content

ShivankChopra/System_Design_Nodejs

Repository files navigation

System Design Primer (Node.js)

This repository contains hands-on system design case studies implemented in Node.js, inspired by concepts from Alex Xu's System Design Interview books!

Purpose

  • 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.

Implemented So Far

1. Rate Limiter

Location: rate-limiter/

Includes:

  • Multiple algorithms (only token bucket implemented for now..)
  • Config-driven rules
  • Express demo server
  • Smoke tests

Quick Start

Install dependencies:

npm install

Run smoke tests:

npm test

Run 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

Notes

  • 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!)

About

Real world implementations of systems discussed in the book "System Design Interview: An Insider’s Guide by Alex Xu" in NodeJs!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors