项目作者: driemworks

项目描述 :
A blockchain based voting application
高级语言: TypeScript
项目地址: git://github.com/driemworks/BlockVoter.git
创建时间: 2018-08-31T18:46:58Z
项目社区:https://github.com/driemworks/BlockVoter

开源协议:

下载


BlockVoter

A blockchain based voting application that works by deploying a poll as a smart contract to the Ethereum blockchain, allowing users to join the poll via the contract’s unique address.

Getting Started

Prerequisites

Install

  • nodejs
  • java 9
  • ganache—cli or metamask
  • mongodb (should be set as path variable)

Installing

  • Install MongoDB and add /bin folder as path variable
    • create the directory /drive/data/db in the directory that you’re running the project from
      Run from the command line using the mongod command
  • Install ganache-cli via npm using the command npm install -g ganache-cli and start ganache using ganache-cli

Running

There are two types of startup scripts included.

start-ganache.sh that will start mongodb on port 27107, ganache on port 7545, npm on port 4200, and the spring api on 8080.

start.sh does all of the above except for starting ganache (use if you have an ethereum client installed in your browser).

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details