![Logo](/Pyxels/SimpleVote/raw/master/images/logo.png)
Secure and verifiable voting powered by blockchain.
Explore the repo »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
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.
- Pull the repo
- Move into the directory
cd SimpleVote/
- Install all dependencies
npm install
npm run postinstall
- Run the server
node server.js
- Go to
localhost:3000
with the right credentials on Metamask
- The home page is an overview over all rooms with some basic stats, like invited users and amount of votes.
- Clicking on the
Create VoteRoom
button takes you to the creation view. - Looking at a specific room, you can see alot of details.
- Looking at the votes for a room, you can see a list with buttons/actions to take.
- The manager can also crate a new vote by clicking
Add Vote
.
- 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).
Project Link: https://github.com/Pyxels/SimpleVote
- S2BCAcademys Example which helped with the basic setup
- The professor which offered this course and the ressources