https://github.com/annygutierrez/election-dapp
Election-DApp is the simulation of a voting form, which thanks to the blockchain technology and its distributed information network could make events like the presidential elections safer.
https://github.com/annygutierrez/election-dapp
blockchain ethereum ganache ipfs javascript metamask solidity truffle
Last synced: 2 months ago
JSON representation
Election-DApp is the simulation of a voting form, which thanks to the blockchain technology and its distributed information network could make events like the presidential elections safer.
- Host: GitHub
- URL: https://github.com/annygutierrez/election-dapp
- Owner: annygutierrez
- Created: 2018-09-22T20:01:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T04:58:47.000Z (over 7 years ago)
- Last Synced: 2025-08-22T00:52:30.853Z (10 months ago)
- Topics: blockchain, ethereum, ganache, ipfs, javascript, metamask, solidity, truffle
- Language: JavaScript
- Homepage: https://gateway.ipfs.io/ipfs/QmSXSe7HctvfTLMD1JPbBkDv2nxHCubGgtr7unvp9ttBVD/
- Size: 544 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Election Example DApp
A decentralized application, or Dapp, on the Ethereum Network.
## Dependencies
- NPM: https://nodejs.org
- Truffle: https://github.com/trufflesuite/truffle
- Ganache: http://truffleframework.com/ganache/
- Metamask: https://metamask.io/
## Step 1. Clone the project
`git clone https://github.com/annygutierrez/election-DApp`
## 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.
## Step 6. Run the Front End Application
`$ npm run dev`
Visit this URL in your browser: http://localhost:3000