/votingapp

Primary LanguageJavaScriptMIT LicenseMIT

Votingapp

Dependencies

Install these prerequisites to use the application.

Step 1. Install dependencies

$ cd election
$ npm install

Step 2. Start Ganache

Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.

Step 4. Compile & Deploy Election Smart Contract

$ truffle migrate --reset You must migrate the election smart contract each time your restart ganache.

Step 5. Configure Metamask

  • Unlock Metamask
  • Connect metamask to your local Etherum blockchain provided by Ganache.
  • Import an account provided by ganache.

Step 6. Run the Front End Application

$ npm run dev