This is an example about the Ethereum Dapp.
git clone https://github.com/Vilisag/dapp-election.git
cd dapp-election
npm install
Note: Default Ganache network have to be http://127.0.0.1:7545
(can be changed from configuration)
truffle console --network ganache
migrate --reset --compile-all
.exit
npm run dev
npm run development
- This is an example about the Ethereum Dapp. Reader can refer the source code to research about Ethereum Dapp.
- The idea and source code was refer from http://www.dappuniversity.com/articles/the-ultimate-ethereum-dapp-tutorial and was modify by the author.
- The frontend used the
webpack-mix.js
to compilejs
,css
files. - Also used the
live-server
to run the development server.