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.
- Typescript
- Honojs
- Upstash/Redis
- Wrnagler
- Upstash
- Cloudflare
- Clone the repo
- Run
npm install - Run
npm run dev