Flight Surety App is a decentralized application (DApp) built on the Ethereum blockchain. It facilitates airline registration, fetching flight status, and handling insurance payouts to passengers. The application is designed to demonstrate various smart contract interactions and functionalities.
-
Airline Registration: Airlines can register themselves by funding the contract with the required amount.
-
Fetch Flight Status: Users can fetch the status of a flight by providing the flight details. The result is a status code indicating whether the flight is On Time, Cancelled, or has other statuses.
-
Insurance Payouts: In case of a cancelled flight, passengers receive a payout to their wallet.
-
Wallet Withdrawal: Passengers can withdraw funds from their wallet.
- Node.js and npm installed on your machine.
- Truffle installed globally:
npm install -g truffle
- Ganache or any Ethereum client for local development.
-
Clone the repository:
git clone https://github.com/akinsikuoluwafemi/Flight-Surety.git
2: cd frontend to start the frontend or cd server to start the server.