Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codemaster17/rate_limiter-for-apis

An implement to rate limit the apis using hono js and redis.
https://github.com/codemaster17/rate_limiter-for-apis

cloudflare honojs redis typescript

Last synced: 10 days ago
JSON representation

An implement to rate limit the apis using hono js and redis.

Awesome Lists containing this project

README

        

# Rate Limiter for apis

This is a simple implementation to limit the usage of apis. Cache in redis is implemented through sliding window algorithm function.

You can build your apis on top of it and use it to limit the usage of your apis.

image

## Tech stack

- Typescript
- Honojs
- Upstash/Redis
- Wrnagler

## Create your account on

- Upstash
- Cloudflare

## How to run

- Clone the repo
- Run `npm install`
- Run `npm run dev`