Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dappuniversity/election
A Decentralized Ethereum Voting Application Tutorial
https://github.com/dappuniversity/election
Last synced: about 2 months ago
JSON representation
A Decentralized Ethereum Voting Application Tutorial
- Host: GitHub
- URL: https://github.com/dappuniversity/election
- Owner: dappuniversity
- Created: 2018-01-25T16:19:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T07:30:17.000Z (over 2 years ago)
- Last Synced: 2024-06-12T08:55:27.010Z (6 months ago)
- Language: JavaScript
- Size: 557 KB
- Stars: 561
- Watchers: 30
- Forks: 505
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Election - DAPP Tutorial
Build your first decentralized application, or Dapp, on the Ethereum Network with this tutorial!Full Free Video Tutorial:**
https://youtu.be/3681ZYbDSSk## 2019 Updated Code
https://github.com/dappuniversity/election/tree/2019_updateFollow the steps below to download, install, and run this project.
## Dependencies
Install these prerequisites to follow along with the tutorial. See free video tutorial or a full explanation of each prerequisite.
- 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/dappuniversity/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
See free video tutorial for full explanation of these steps:
- 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:3000If you get stuck, please reference the free video tutorial.