Get the git repo
git clone git@github.com:dapps-dev-club/blockchain-demo.git
cd blockchain-demo
git fetch origin feat/codestate:feat/codestate
git checkout feat/codestate
Install and start
npm install
npm run start
# open http://localhost:3000/
Code:
const x = (state.x || 0) + args[0];
return { ...state, x };
Arguments:
[1]