rate-limit
Getting Started
Learn how to use the @perseidesjs/medusa-plugin-rate-limit plugin in your Medusa app
View on GitHub
Getting Started
This plugin/utility will allow you to protect your application from abuse quite easily. The idea is simple: you provide a utility class that will allow you to limit queries based on your criteria.
Why Rate Limiting Matters
- Shield Against Attacks: Prevent Denial of Service (DoS) attempts by capping the number of requests from a single source.
- Boost Security: Thwart brute force attacks and other automated threats by controlling request frequency.
- Easy Setup: Seamlessly integrate rate limiting into your existing Medusa configuration files.
Installation
To get started, install the plugin using your preferred package manager:
yarn add @perseidesjs/medusa-plugin-rate-limitnpm install @perseidesjs/medusa-plugin-rate-limit