Concept Flow - Rate limiting with express-rate-limit
Client sends request
express-rate-limit middleware
Check request count for IP
Send 429
When a client sends a request, the middleware checks how many requests that IP made. If the limit is exceeded, it sends a 429 error. Otherwise, it lets the request continue.