perseidesperseides
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

  1. Shield Against Attacks: Prevent Denial of Service (DoS) attempts by capping the number of requests from a single source.
  2. Boost Security: Thwart brute force attacks and other automated threats by controlling request frequency.
  3. 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-limit
npm install @perseidesjs/medusa-plugin-rate-limit

On this page