Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.41 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.41 KB

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