This is a Next.js and with Upstash Redis
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/pages/index.js
. The page auto-updates as you edit the file.
Register on Upstash and add your secrets to the .env
file, the following ones:
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=