Skip to content

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

License

Notifications You must be signed in to change notification settings

sherwyn11/E-Voting-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages