Skip to content

Simple voting dapp based on Mahesh Murthy's Medium article

License

Notifications You must be signed in to change notification settings

mjhm/hello_world_dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World Dapp

Simple voting dapp based on Mahesh Murthy's Medium article

This updates his tutorial with new web3 1.X bindings, and packages the tutorial for easy installation.

For a more complete and real starting place for building dApps see create-react-dapp.

Installation and Usage

Clone repository and run

npm install

Then launch the testpc server with

npm run ganache

and from a separate shell

npm run http_server

Then point your browser to http://localhost:8000 for the web version of the voting app.

The server.js file includes the VotingContract setup and deployment. For comparision you should be able to follow the original tutorial to get an idea of what was changed from the pre 1.0 web3 to the 1.0 web3 bindings.

For a much more robust and complete version of this DApp see: https://github.com/mjhm/create-react-dapp

About

Simple voting dapp based on Mahesh Murthy's Medium article

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published