---
title: "Roadmap Voting Starter Kit"
description: "Roadmap voting app with Next.js."
url: "https://vercel.com/templates/next.js/roadmap-voting-starter-kit"
links:
  repository: "https://github.com/vercel/next.js/tree/canary/examples/with-redis"
  demo: "https://roadmap-redis.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=Redis+Roadmap&demo-description=Create+and+upvote+features+for+your+product.&demo-url=https%3A%2F%2Froadmap-redis.vercel.app%2F&project-name=redis-roadmap&repository-name=redis-roadmap&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-redis&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22upstash%22%2C%22productSlug%22%3A%22upstash-kv%22%7D%5D&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F7jcBN9Y1fBsKDXfycA117h%2F93fef0428cc162ada1baa5f3197d3475%2FCleanShot_2023-12-26_at_20.22.37_2x.png"
---

# Roadmap Voting Starter Kit

Roadmap voting app with Next.js.

# Redis Example (with Upstash)

This example showcases how to use Redis as a data store in a Next.js project.

The example is a roadmap voting application where users can enter and vote for feature requests. It features the following:

- Users can add and upvote items (features in the roadmap)
- Users can enter their email addresses to be notified about the released items.

## Demo

- [https://roadmap-redis.vercel.app/](https://roadmap-redis.vercel.app/)

## Deploy Your Own

This example uses [Upstash](https://upstash.com) (Serverless Redis) as its data store, through the [`@upstash/redis`](https://github.com/upstash/redis-js) client. The Deploy button installs the [Upstash integration](https://vercel.com/marketplace/upstash) from the Vercel Marketplace, which creates a Redis database and adds its credentials to your project.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-redis&project-name=redis-roadmap&repository-name=redis-roadmap&demo-title=Redis%20Roadmap&demo-description=Create%20and%20upvote%20features%20for%20your%20product.&demo-url=https%3A%2F%2Froadmap-redis.vercel.app%2F&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22upstash%22%2C%22productSlug%22%3A%22upstash-kv%22%2C%22protocol%22%3A%22storage%22%7D%5D)

## How to use

Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:

```bash
npx create-next-app --example with-redis roadmap
```

```bash
yarn create next-app --example with-redis roadmap
```

```bash
pnpm create next-app --example with-redis roadmap
```

Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).

To run it locally, create a database in the [Upstash Console](https://console.upstash.com), copy `.env.example` to `.env.local`, and fill in `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN`. If you deployed with the button, `vercel env pull` writes the credentials for you; `Redis.fromEnv()` reads either the `UPSTASH_REDIS_REST_*` or the `KV_REST_API_*` names the integration provides.

## Related Templates

### [Stripe Subscription Starter](https://vercel.com/templates/next.js/subscription-starter)

The all-in-one subscription starter kit for high-performance SaaS applications, powered by Stripe, Supabase, and Vercel.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
