FlightSurety is a flight insurance Dapp.
FlightSurety is a sample application project for Udacity's Blockchain course.
npm install
truffle compile
truffle test
Deploy the contracts
truffle develop
migrate
Running the frontend
npm run dapp
Running the oracle server
npm run server
View the dapp:
http://localhost:8000
- Authorize the app contract
- Fund the first airline
- Register a new airline
- Register a flight
- Buy insurance for a flight
- Request flight status
- Withdraw credit