Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 596 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 596 Bytes

DVotingApp

A Decentralized Voting App

Getting Started

To test and deploy the smart contract follow the steps below.

  1. Install Node.js
  2. Clone the repository: git clone https://github.com/MuzamilJillani/DVotingApp.git
  3. cd DVotingApp
  4. cd back-end
  5. npm install
  6. To test the contract run npx hardhat test
  7. To deploy the contract to your localhost network do the following:
    • npx hardhat node
    • npx hardhat run --network localhost ./script/deploy.js

Using the Frontend

  1. cd front-end
  2. npm install
  3. npm start