Simple voting Dapp using Vue CLI
Vue voting dApp
Simple voting Dapp; using Vue CLI, Truffle and Web3
This project was generated with vue-cli version 3.2.1
An simple Vue dApp with a voting mechanism build in the smart contract
Install dependencies
git clone https://github.com/marlowl/vue-voting-dapp
npm install
cd vue
npm install
Update .env files
-
In the root:
MNEMONIC= "your ganache MNEMONIC"
INFURA_API_KEY="your infura key"
-
In the vue folder:
VUE_APP_ETHADDRESS="your eth address"
Truffle
- To compile your contracts
truffle compile
- To deploy those contracts to the network
truffle migrate --network kovan
Start dev server
cd vue
npm run serve
Technologies & Languages Used
- Vue (Typescript/Javascript)
- Truffle (Solidity)