Airthee / FlightSurety

Udacity Blockchain Nanodegree Course 6 "Flight Surety" Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

npm run test

To use the dapp:

truffle migrate npm run dapp

To view dapp:

http://localhost:8000

Develop Server

npm run server

Before running server, duplicate files src/server/oracles.example.json to src/server/oracles.json and put all your oracles' private keys.

Deploy

To build dapp for prod: npm run dapp:prod

Deploy the contents of the ./dapp folder

Resources

About

Udacity Blockchain Nanodegree Course 6 "Flight Surety" Project

License:MIT License


Languages

Language:JavaScript 61.4%Language:Solidity 34.8%Language:HTML 2.9%Language:CSS 0.9%