Go on and ahve some decentralized coffee !!
Coffee House is place where you can have and store your snaks and drinks.
Buy it once !! Use it anytime !! It never ends !!
- OpenZeppelin SafeMath
- OpenZeppelin Ownable
This is my setup while developing this.
- OS: Ubuntu 18.04
- Node.js: 8.14.0
- npm: 6.5.0
- truffle: v5.0.2
- Ganache CLI: v6.2.5
- Clone the project locally
git clone https://github.com/dev-bootcamp-2019/final-project-dipanshkhandelwal
cd final-project-dipanshkhandelwal
- Start local development blockchain and copy the mnemonic to be used later
ganache-cli -b 3
- Compile contracts and migrate them to the blockchain
npm i
truffle compile
truffle migrate
The frontend is a React app that uses drizzle to interact with the contract.
cd client
npm i
npm start
truffle test
- Goto localhost:3000 and login into metamask using the mnemonic obtained from ganache.
- Allow connecting the app to web3
- Owner's account will be already created and will be the one who initiated the contract.
- You can then switch to a different metamask account and register/buy etc.
- Better handling for users data
- Two sided store
- A more friendly page link
- Integrate drizzle-react
- Improve UI/UX