Blockchain based voting system.
- NodeJS: https://nodejs.org
- Truffle: https://github.com/trufflesuite/truffle
- Ganache: http://truffleframework.com/ganache/
- Metamask: https://metamask.io/
git clone https://github.com/Hemanthwarrier/voting_system
λ cd voting_system
λ npm install
Run the Ganache GUI to start the local blockchain.
λ truffle migrate --reset
Deploying the election contract to the local blockchain network.
- Unlock Metamask
- Add network configaration for the local blockchain network provided by Ganache
- Import an account provided by ganache to the metamask.
λ npm start
Visit this URL in your browser: http://localhost:3000