To test and deploy the smart contract follow the steps below.
- Install Node.js
- Clone the repository:
git clone https://github.com/algoexpert-io/Decentralized-Voting.git cd Decentralized-Votingcd backendnpm install- To test the contract run
npx hardhat test - To deploy the contract to your
localhostnetwork do the following:npx hardhat nodenpx hardhat run --network localhost ./script/deploy.js
cd react_frontendnpm installnpm start