Skip to content

Rate Limit your Next.js API Routes using `rate-limiter-flexible`. The Easy Way!

Notifications You must be signed in to change notification settings

deadcoder0904/nextjs-rate-limit

Repository files navigation

nextjs-rate-limit

Rate Limit your Next.js API Routes using rate-limiter-flexible. The Easy Way!

1. Install dependencies

pnpm install

2. Run dev server in one terminal

pnpm dev

3. Run rate limit script on another terminal

pnpm automate:ratelimit

4. Run download script

pnpm automate:download

5. Read all Redis Keys & Values

pnpm redis:getall

About

Rate Limit your Next.js API Routes using `rate-limiter-flexible`. The Easy Way!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published