abhijeetnishal / URLShortener

URL Shortener Deployed Link 👇🏻
https://urlsrtner.vercel.app
MIT License
37 stars 60 forks source link

[FEAT]:Add RateLimit using Redis #85

Closed HARISH-1222 closed 4 months ago

HARISH-1222 commented 4 months ago

Hi @abhijeetnishal 👋

closes: #57

As per our discussion, I create a logic for middleware to make a rate limit by using Redis + IP address

and in the sample env file, I provide information.

we can provide the requests count and for how long in env file itself

Additionally, I built the logic for Toast in the frontend. After Toster:

Screenshot 2024-05-15 at 10 21 08 PM
vercel[bot] commented 4 months ago

Someone is attempting to deploy a commit to the Abhijeet's projects Team on Vercel.

A member of the Team first needs to authorize it.

abhijeetnishal commented 4 months ago

@HARISH-1222 also resolve the conflicts by pulling the latest code from master branch

abhijeetnishal commented 4 months ago

Hey @HARISH-1222, are you done with the changes?

HARISH-1222 commented 4 months ago

Yes I am done.

once I check I will push it.

sorry I have office work.

abhijeetnishal commented 4 months ago

Yes I am done.

once I check I will push it.

sorry I have office work.

No problem @HARISH-1222 I understand office work

HARISH-1222 commented 4 months ago

Nice 😄.