Welcome to our decentralized voting application! This project utilizes Truffle, Ganache, Solidity, JavaScript, Web3, and MetaMask to provide a compact yet powerful solution for modernizing traditional voting systems.
- Transparency: Built on Ethereum, our app ensures transparent voting records, reducing the risk of fraud.
- Security: Each vote is securely encrypted and stored on the blockchain, ensuring tamper-proof results.
- User-Friendly: With an intuitive interface, users can easily cast votes using MetaMask.
- Smart Contracts: Solidity smart contracts handle the backend logic, ensuring fair and automated execution of voting rules.
Follow these steps to set up and run the application locally:
git clone https://github.com/fawez9/DVAPP.git
npm install
Ensure Ganache is running locally on your machine, you can download it from link below.
link:[ https://archive.trufflesuite.com/ganache/ ]
truffle migrate --reset
Note: Ensure to migrate the election smart contract each time you restart Ganache.
Configure your MetaMask extension and connect it to your local Ganache network.
npm run dev
Visit this URL in your browser: http://localhost:3000 or you'll find the correct URL prompted on your terminal.
We welcome contributions from the community! Feel free to submit pull requests or open issues if you encounter any problems or have suggestions for improvement.