GithubHelp home page GithubHelp logo

ljuliandicarlo / ebloc-voting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kuzdogan/ebloc-voting

0.0 0.0 0.0 591 KB

An Ethereum based full-stack voting app for small scale elections

JavaScript 95.18% HTML 1.76% CSS 3.06%

ebloc-voting's Introduction

solidity-voting

An Ethereum based voting app for small scale elections as Boğaziçi University Senior Project by:

  • Ali Kireçligöl
  • Kaan Uzdoğan

Nominated 1st prize as Boğaziçi University 2017 Fall Senior Project.

Based on truffle/react-box boilerplate code

Take a look at our poster

See the demo video here

Read the full project report here

Find detailed instructions in the project report. More documentation to be added.

Instructions

  1. Install npm if you haven't following the instructions here

  2. Install Truffle globally.

    npm install -g truffle
  3. Install dependencies

    npm install
  4. Install Ganache test network (use sudo if you get permission error)

     npm install -g ganache-cli
  5. Start test network on port 9545, use your own port in the truffle.js file

    ganache-cli -p 9545     
    
  6. Open a new terminal in the folder. Compile and migrate the smart contracts.

    truffle compile

    and then

    truffle migrate --network development
    
  7. Before running copy the contract addres from test network console output and paste to src/pages/vote/Vote.jsx file line 120. Contract address is currently hard coded.

  8. Run the webpack server

    // Serves the front-end on http://localhost:3000
    npm start

ebloc-voting's People

Contributors

kuzdogan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.