Skip to content

mustfeez/election

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Election - DAPP

Follow the steps below to download, install, and run this project.

Dependencies

Install these prerequisites.

Step 1. Clone the project

git clone https://github.com/mustfeez/election

Step 2. Install dependencies

$ cd election
$ npm install

Step 3. Start Ganache

Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance. See free video tutorial for full explanation.

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.

Check following link for Metamask Configuration:

Step 6. Run the Front End Application

$ npm run dev Visit this URL in your browser: http://localhost:3000

About

This app uses smart contracts to cast a vote for a clinet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors