E-Voting DApp project
To run the app you must:
(or linux bash)
($ cd ../eVoting_DApp)
and start a local server (Port 8545)
to install the packages required by the app. It make takes a couple of minutes due to the huge amount of packages.
to mount the code on the blockchain (Ganache).
to start the web server
It will automatically opens your browser.
Once loaded, you will need the start your crypto wallet, like Metamask. Set your wallet account on localhost (same port as Ganache). Every transaction (Vote or Candidature) will ask to your wallet for confirmation.
To vote you must insert your ID (whatever) and your preference. Giving a non-existing or wrong name, will count as a null vote. If you don't see vote count changes, try refresh your webpage, they should appear.