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.
The E-Voting app has 2 main users:
- Admin
- 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
- Node.js
- npm
- React.js
- Web3.js
- Ganache-cli
- Truffle
- Solidity
- MongoDB
- Metamask
- Install Ganache and create a workspace.
- Install Truffle npm package globally by running
npm install -g truffle
. - Run
truffle migrate --reset
from the command line to deploy the smart contract to the blockchain. - Download Metamask Chrome extension for the browser to help interaction between the application and the blockchain.
cd blockchain
npm start
cd server
npm run dev
© 2020 Sherwyn D'souza