Ratelimit with Upstash Redis

R
Renaudil y a 2 jours
0

Description

Ratelimit your applications with Upstash’s Redis and Ratelimit

npx boilerapp ratelimit-with-upstash-redis

文档

@upstash/ratelimit & @upstash/redis example

This example demonstrates using @upstash/ratelimit with Upstash Redis.

Local Development

Copy the example env file:

cp .env.local.example .env.local

Set the environment variables in the new env file after creating an Upstash Redis instance.

Then, install the dependencies:

npm install

Finally, run the application with

npm run dev

Deploy to Vercel

To deploy to vercel, simply run

vercel

If you create a new project, you may need to set the environment variables and redeploy the app. \

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联系我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联系我们,我们将尽快回复。

Ratelimit with Upstash Redis | BoilerApp