Skip to content

Ajeo/supply-chain-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supplay Chain DAPP

This repository containts an Ethereum DApp that demonstrates a Supply Chain flow between a Seller and Buyer. The user story is similar to any commonly used supply chain process. A Seller can add items to the inventory system stored in the blockchain. A Buyer can purchase such items from the inventory system. Additionally a Seller can mark an item as Shipped, and similarly a Buyer can mark an item as Received.

Deploy smart contract on a public test network

Ganache Setup

  1. Install npm install -g ganache-cli

Truffle Setup

  1. Install npm install [email protected] -g
  2. Clone the repo
  3. Go to the folder project-6
  4. Run truffle develop
  5. Migrate contracts migrate --reset
  6. Run test inside the truffle console

Frontend Setup

  1. Go to the folder project-6
  2. Install dependencies with npm install
  3. Run local server npm run dev
  4. Open localhost:3000 in your browser

Deploy in Rinkeby

  1. Run truffle migrate --reset --network rinkeby

About

Udacity Blockchain Nano Degree Third Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published