Skip to content

codewithrajranjan/ratelimiter-in-nodejs-using-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ratelimiter in NodeJS using Redis

This rate limiter in nodejs using redis. you can use this to ratelimiter in your application to rate limit the apis.

Install dependencies

npm install

Run Server

node index.js

Rest API for for calling the GET API

curl --location 'http://localhost:7005/ping' \
--header 'user_id: 111112' 

References

  • Install Redis using docker and docker compose | Redis Insight docker installation

https://www.youtube.com/watch?v=qucL1F2YEKE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published