Products:
Redis
Stack:
Next.js, Typescript
Use Case:
Primary Database
Languages:
TypeScript
Platforms:
Publisher:

Next.js Todo App with Redis using app directory

Demo

Demo

Prerequisites

Node version 18.x.x

Cloning the repository

git clone https://github.com/upstash/examples.git

Install packages

npm i

Setup .env file

UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=

Start the app

npm run dev

Available commands

Running commands with npm npm run [command]

| command | description | | :-------------- | :--------------------------------------- | | dev | Starts a development instance of the app | | build | To build your application | | start | Starts a production instance of the app |

Learn More

To learn more about Upstash and its services, check out the following resources: