rutik0309 / E-Voting-App

A simple E-voting Decentralised App using the Ethereum Blockchain, Solidity and the MERN(MongoDB, Express.js, ReactJS, Node.js) stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Voting App

A simple E-voting Decentralised App using the Ethereum Blockchain, Solidity and the MERN(MongoDB, Express.js, ReactJS, Node.js) stack

Ethereum is an open source, public, blockchain-based distributed computing platform and operating system featuring smart contract functionality.

About the D-App

The E-Voting app has 2 main users:

  1. Admin
  2. Voter

Admin can create an election and add candidates to the Ethereum Blockchain

Users(Voters) can select an election and vote for a candidate of their choice

Dependencies

  • Node.js
  • npm
  • React.js
  • Web3.js
  • Ganache-cli
  • Truffle
  • Solidity
  • MongoDB
  • Metamask

Getting Started

To deploy the Smart Contract

  1. Install Ganache and create a workspace.
  2. Install Truffle npm package globally by running npm install -g truffle.
  3. Run truffle migrate --reset from the command line to deploy the smart contract to the blockchain.
  4. Download Metamask Chrome extension for the browser to help interaction between the application and the blockchain.

To run react development server

cd blockchain
npm start

To run node server

cd server
npm run dev

© 2020 Sherwyn D'souza

About

A simple E-voting Decentralised App using the Ethereum Blockchain, Solidity and the MERN(MongoDB, Express.js, ReactJS, Node.js) stack

License:MIT License


Languages

Language:JavaScript 98.8%Language:HTML 0.6%Language:Solidity 0.4%Language:CSS 0.1%