Voting app using Blockchain developed as a part of Internship program.
-
Download and install NodeJS
-
Install truffle and ganache-cli using node packager manager (npm)
npm install -g truffle npm install -g ganache-cli
-
Install metamask browser extension
-
Get into project Directory
cd "Voting-app-using-Blockchain"
-
Run local Ethereum blockchain on Ganache GUI
Note: Do not close
ganache gui
until termination of project -
Import account(s) to
localhost:7545
test network using private keys from ganache-cli to the metamask extension on the browser -
Deploy smart contract
# on the "Voting-app-using-Blockchain" directory
npx truffle migrate
-
Launch the development server (frontend)
cd client npm install npm start