Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/codemaster17/rate_limiter-for-apis
- Owner: CodeMaster17
- Created: 2024-06-15T04:39:59.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-15T07:06:41.000Z (6 months ago)
- Last Synced: 2024-10-25T10:36:34.025Z (about 2 months ago)
- Topics: cloudflare, honojs, redis, typescript
- Language: TypeScript
- Homepage: https://rate-limiter.hy172003.workers.dev/todos/2
- Size: 175 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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.
## 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`