https://github.com/muratgozel/flight-surety
Final project of Udacity Blockchain Developer Nanodegree program, flight delay insurance application based on smart contracts run on blockchain.
https://github.com/muratgozel/flight-surety
udacity-blockchain-nanodegree
Last synced: about 2 months ago
JSON representation
Final project of Udacity Blockchain Developer Nanodegree program, flight delay insurance application based on smart contracts run on blockchain.
- Host: GitHub
- URL: https://github.com/muratgozel/flight-surety
- Owner: muratgozel
- Created: 2022-11-05T12:06:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T14:07:20.000Z (over 2 years ago)
- Last Synced: 2025-01-30T21:34:35.062Z (4 months ago)
- Topics: udacity-blockchain-nanodegree
- Language: JavaScript
- Homepage:
- Size: 265 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flight Surety
Final project of Udacity Blockchain Developer Nanodegree program, flight delay insurance application based on smart contracts run on blockchain.## Setup
1. Ganache
2. node.js
3. Clone this repository with `git clone https://github.com/muratgozel/flight-surety.git`
4. Run `npm install`
5. Run `npm run compile`## Initial Configuration
1. Create a local blockchain with Ganache. Have at least 100 accounts, 1000 ether for each and use the mnemonic inside `truffle-config.js` file.
2. Run `npm run migrate`. This will deploy your contracts on the local blockchain.
3. Run `npm run dapp` to launch the web app. It will be available at http://127.0.0.1:8000
4. Run `npm run server` to launch the server.## Run Tests
The project has an automated test suite inside test folder and the dapp can be used to test its functionality. To use the test suite, run `npm run test` and to use the dapp just go to http://127.0.0.1:8000.