This is a simple dapp that allow people pay to post their messages as, only the last message will be shown in the home and everytime the price to post a message increases.
It uses the following conpcets:
- react
- redux
- react router
- solidity
- web3
- truffle
- webpack
-
Install Truffle globally.
npm install -g truffle
-
Install the node dependencies.
npm install
-
install and run ganache https://github.com/trufflesuite/ganache
-
compile the contracts
truffle compile
-
deploy contracts
truffle migrate
-
Run the webpack server for front-end hot reloading (outside the development console). Smart contract changes must be manually recompiled and migrated.
// Serves the front-end on http://localhost:3000 npm run start
-
Do not forget to setup your metamask, you can read more on this link