Online voting using Ethereum blockchain environment and React Js frontend.
-> Go to client directory ( cd client) and run "npm install" to install all the required dependencies mentioned in package.json file.
-> Install truffle using cmd "npm install -g truffle"
-> Install Ganache in your computer and run a blockchain environment in there.
-> Install metamask in your browser and import the accounts from Ganache.
-> Run following commands in sequence in the main directory of your code - "truffle init" - "truffle compile" - "truffle migrate"
-> After running above commands, smart contract will get deployed.
-> Then goto client directory and run "npm start"
-> The account which is firstly used to deploy the smart contract using "truffle migrate" will automatically be admin account.
-> You should import the same accout on metamask which is mentioned above to access the admin control and stuff.
-> You can use all other accounts account as a user to register and vote.