Skip to main content
Module

x/upstash_ratelimit/examples/nextjs/README.md

Rate limiting library for serverless runtimes
Go to Latest
File

This is a Next.js project bootstrapped with create-next-app.

Getting Started

  1. Create a database on https://console.upstash.com/
  2. Copy the UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN into .env
  3. Run the development server:
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 with your browser to see the result.