GlobeHoppin / globe-hoppin-backend

Backend of GlobeHoppin. Tech - NodeJs, Express and MongoDB
https://www.api-globehoppin.mustafizkaifee.in/
8 stars 16 forks source link

Add rate limiter on all APIs #10

Open Mustafiz04 opened 2 months ago

Mustafiz04 commented 2 months ago

Add rate limit on all APIs. We are just starting but still, we don't allow anyone to abuse our APIs

5 requests per second (just a random number I gave)

If you have a different number for supper, we can discuss it.

Targter commented 1 month ago

Issues:

Solution:

@GlobeHoppin @Mustafiz04

Please add the labels for GSSoC-EXT and Hacktoberfest and assign this issue to me.

Mustafiz04 commented 1 month ago

Write function like we can configure rate limit, algorithm and so on.

Mustafiz04 commented 1 month ago

Hi, @Targter can you please give an update on your progress?

Targter commented 1 month ago

Sorry for the delay. I am working on it and will submit it by the end of the day.

On Sat, Oct 12, 2024 at 3:46 PM Mustafiz Kaifee @.***> wrote:

Hi, @Targter https://github.com/Targter can you please give an update on your progress?

— Reply to this email directly, view it on GitHub https://github.com/GlobeHoppin/globe-hoppin-backend/issues/10#issuecomment-2408509813, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6GHBIRR4R63VR2DR2ENIMTZ3DZIDAVCNFSM6AAAAABOUL2MWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGUYDSOBRGM . You are receiving this because you were mentioned.Message ID: @.***>

Targter commented 1 month ago

I have submitted a pull request for your review. Please let me know if you encounter any issues, and I would be happy to discuss further. @Mustafiz04