How to throttle your Express API using the express-rate-limit package
Let’s say we only want to allow 10 requests every 30 seconds to our Express API. To achieve this, you can use middleware to handle rate limiting. A popular choice for this is the express-rate-limit package.
Steps to Throttle API Requests Using expres...
dgostin.hashnode.dev2 min read