Pyxels / SimpleVote

Simple POC Blockchain voting program using a React frontend and ethereum contract.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ethereum Next React Node


Logo

SimpleVote

Secure and verifiable voting powered by blockchain.
Explore the repo »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contact
  6. Acknowledgments

About The Project

Product Name Screen Shot

For a university course, we created a simple Voting application which can be hosted on an ethereum blockchain, along with a frontend to interact with this smart contract. This application offers any user to create their own VoteRoom to which any address can be invited. The owner of a VoteRoom can create private votes in which only the invited voters can vote, or create public votes which are open to any user with sufficient funds.

(back to top)

Built With

(back to top)

Disclaimer

⚠️ This is a simple proof-of-concept university project and should not be used in any real world application.

Getting Started

Prerequisites

Installation

  1. Pull the repo
  2. Move into the directory
cd SimpleVote/
  1. Install all dependencies
npm install
npm run postinstall
  1. Run the server
node server.js
  1. Go to localhost:3000 with the right credentials on Metamask

(back to top)

Usage

  1. The home page is an overview over all rooms with some basic stats, like invited users and amount of votes. All Rooms
  2. Clicking on the Create VoteRoom button takes you to the creation view. Create new Room
  3. Looking at a specific room, you can see alot of details. Room Details
  4. Looking at the votes for a room, you can see a list with buttons/actions to take. Votes Overview
  5. The manager can also crate a new vote by clicking Add Vote. New Vote

(back to top)

Roadmap

  • Refactor Frontend to use functional components
  • Add loading spinners
  • Easier site navigation
  • Dark theme

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contact

Project Link: https://github.com/Pyxels/SimpleVote

(back to top)

Acknowledgments

(back to top)

About

Simple POC Blockchain voting program using a React frontend and ethereum contract.


Languages

Language:JavaScript 81.3%Language:Solidity 18.3%Language:Dockerfile 0.4%