Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
roadmap voting app init project
Browse files Browse the repository at this point in the history
  • Loading branch information
noahfschr committed Feb 19, 2021
1 parent 1caf4d9 commit f6ffdad
Show file tree
Hide file tree
Showing 28 changed files with 49 additions and 31 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Serverless Tutorials
# Serverless Tutorials


3 changes: 3 additions & 0 deletions nextjs-with-redis/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# production
/build

*.iml
/.idea

# misc
.DS_Store
*.pem
Expand Down
File renamed without changes.
43 changes: 43 additions & 0 deletions roadmap-voting-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Roadmap Voting App
This example showcases how to use Redis as a data store in a Next.js project. Upstash is used as Serverless Redis database.

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), and enter their email addresses to be notified about the released items.
- The API records the ip-addresses of the voters, so it does not allow multiple votes on the same item from the same IP address.

## Demo
Upstash uses this application to collect feedback about its roadmap. See
[https://roadmap.upstash.com](https://roadmap.upstash.com)

## Deploy Your Own
You can deploy Roadmap Voting App for your project/company clicking the below button:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fupstash%2Fserverless-tutorials%2Ftree%2Fmaster%2Froadmap-voting-demo&env=LOGO&envDescription=Enter%20URL%20for%20your%20project%2Fcompany%20logo&envLink=https%3A%2F%2Fdocs.upstash.com%2Fdocs%2Ftutorials%2Froadmap_voting_app&project-name=roadmap-voting&repo-name=roadmap-voting&demo-title=Roadmap%20Voting&demo-description=Roadmap%20Voting%20Page%20for%20Your%20Project&demo-url=https%3A%2F%2Froadmap.upstash.com&integration-ids=oac_V3R1GIpkoJorr6fqyiwdhl17)

## Configuration
The application uses [Upstash](https://upstash.com) (Serverless Redis Database) as its data storage. During deployment you will be asked to integrate Upstash. The integration dialog will help you create an Upstash database for free and link it to your Vercel project with the following steps:

### Deployment Steps
After clicking the deploy button, enter a name for your project. Then you will be asked to install Upstash integration.
![install](./docs/s2.png)

You can sign up/sign in the following dialog:
![signup](./docs/s3.png)

Create a free database:
![dbcreate](./docs/s4.png)

Select your database and the Vercel project:
![link](./docs/s5.png)

Click `COMPLETE ON VERCEL` button:
![link](./docs/s6.png)

Finish you deployment by choosing a repository to host the project. In the next step, set the URL of your project's logo:
![repo](./docs/s7.png)

Your Roadmap Voting Page should be ready:
![final](./docs/s8.png)


Binary file added roadmap-voting-app/docs/s1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added roadmap-voting-app/docs/s8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
30 changes: 0 additions & 30 deletions roadmap-voting-demo/README.md

This file was deleted.

0 comments on commit f6ffdad

Please sign in to comment.