Coder Social home page Coder Social logo

theod0sis / coffeesupplychain Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.39 MB

A Supply Chain Tracking decentralized application on the Ethereum blockchain. Third project for Udacity Blockchain Developer Nanodegree

JavaScript 98.08% HTML 1.52% CSS 0.39%

coffeesupplychain's Introduction

Coffee Supply Chain DAPP

This is the third project for @Udemy Blockchain developer Nanodegree. The purpose of this project is to go over how smart contracts can work as an extremely valuable resource for the management of supply chains.

What this dapp will do:

"Coffee Supply Chain" dapp is a decentralized application that covers the supply chain of Coffee, from farmers to consumers. 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.

Where you can find the contracts:

All contracts are on Rinkeby Ethereum test network.

Technology versions used:

- Solidity version ^0.5.16
- Truffle version v5.1.20
- truffle-hdwallet-provider version ^1.0.0-web3one.5
- web3 version ^1.2.6
- node version v10.15.0
- npm version 6.4.1

For testing:

- Chai
- Mocha

Run Crypto Star dapp local:

Prerequisites

You need to have a ganache ui up and running

Commands for running local

npm install
truffle compile
truffle migrate
cd app
npm run dev

To run the unit test:

truffle test

TESTS

Sample transactions from UI:

Product Overview:

FarmerUI

Farmer Details:

FarmerUI

Transactions to ehterscan:

Product Details

ProductUI

Transactions to ehterscan:

Transaction History

TransactionHistory

coffeesupplychain's People

Contributors

theod0sis avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.