A dapp for the flow of data in the Travel.
You should have truffle、git、ganache、node.js、metamask installed.
Truffle: https://truffleframework.com/truffle, truffle is the most popular development framework for Ethereum.
Ganache: https://truffleframework.com/ganache, this provides local Ethereum network and accounts for test.
Metamask: This is a Chrome extension working as Ethereum wallets, you can import/delete accounts, confirm transactions and manage your balance here.
- Clone the repo.
git clone https://github.com/CISL-blockchain/travel-dapp.git
- Install npm dependcies.
npm install
-
Make sure your metamask connected to your blockchain like geth or ganache whatever. And have a avaliable account.
-
Compile and migrate your smart contract.
truffle compile
truffle migrate --reset
- Start your server to see the front-end page.
npm run dev
- Now you can interact with your Dapp.