Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parvez3019/flightsurety-blockchain-project
https://github.com/parvez3019/flightsurety-blockchain-project
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/parvez3019/flightsurety-blockchain-project
- Owner: parvez3019
- License: mit
- Created: 2022-05-20T10:35:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T12:28:18.000Z (over 2 years ago)
- Last Synced: 2024-10-12T07:27:11.904Z (3 months ago)
- Language: JavaScript
- Size: 404 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# FlightSurety
FlightSurety is a sample application project for Udacity's Blockchain course.
## Install
This repository contains Smart Contract code in Solidity (using Truffle), tests (also using Truffle), dApp scaffolding (using HTML, CSS and JS) and server app scaffolding.
To install, download or clone the repo, then:
`npm install`
`truffle compile`## Develop Client
To run truffle tests:
`truffle test ./test/flightSurety.js`
`truffle test ./test/oracles.js`To use the dapp:
`truffle migrate`
`npm run dapp`To view dapp:
`http://localhost:8000`
## Develop Server
`npm run server`
`truffle test ./test/oracles.js`## Deploy
To build dapp for prod:
`npm run dapp:prod`Deploy the contents of the ./dapp folder
## Resources
* [How does Ethereum work anyway?](https://medium.com/@preethikasireddy/how-does-ethereum-work-anyway-22d1df506369)
* [BIP39 Mnemonic Generator](https://iancoleman.io/bip39/)
* [Truffle Framework](http://truffleframework.com/)
* [Ganache Local Blockchain](http://truffleframework.com/ganache/)
* [Remix Solidity IDE](https://remix.ethereum.org/)
* [Solidity Language Reference](http://solidity.readthedocs.io/en/v0.4.24/)
* [Ethereum Blockchain Explorer](https://etherscan.io/)
* [Web3Js Reference](https://github.com/ethereum/wiki/wiki/JavaScript-API)