Visit LEDU token page

How to create a supply chain dApp for order accounting

How to create a supply chain dApp for order accounting

  • English
  • Cryptocurrency
  • EthereumEthereum
  • (1034)
  • Project length: 6h 15m

This tutorial will cover all the details that are necessary to build a complete supply chain dApp over the Ethereum blockchain.

Overview

This tutorial will cover all the details (resources, tools, languages etc) that are necessary to build a complete and operational supply chain dApp over the Ethereum blockchain. You will be guided through all the steps and concepts, starting from the basic ones like setting up the environment for the Ethereum smart contracts development. And ultimately you will be able to create your own supply chain dApp using Ethereum blockchain.

What are the requirements?

  • Solidity
  • Javascript
  • Node.js
  • React-Redux
  • DevOps
  • truffle framework

What is the target audience?

  • You want to build dApp on the Ethereum
  • Developers who want to create supply chain dApp over the Ethereum blockchain
  • Learners who want to use truffle to manage smart contracts

Project Outline

Session 1: Setting-up the Environment

  • Setting up the programming environment for Windows
  • Setting up the programming environment for Mac OS
  • Setting up the programming environment for Linux Ubuntu

Session 2: Description of the future work

  • Describing supply chain system
  • Describing dApp architecture

Session 3: Creating a supply chain smart contract

  • High-level design for the smart contract
  • Implementing 1st smart contract version

Session 4: Updating the smart contract and testing it in the Remix VM environment

  • Add events
  • Add new fields
  • Testing different version in RemixVM environment

Session 5: Initialization of the truffle project and testing using ganache

  • Create truffle project
  • Description of truffle project structure
  • Compile smart contracts
  • Migration using truffle
  • Creating tests

Session 6: Node.JS backend service

  • Initialization of the node.js project
  • Install dependencies
  • Create the project structure
  • Connect to mlab mongo
  • Subscribe to events
  • Refactor smart contract
  • Save events to mlab mongo

Session 7: Create routes in the backend and update smart contract

  • Update truffle config
  • Update truffle tests
  • Redeploy smart contract
  • Create API route
  • Test it using Postman

Session 8: React-Redux web UI with the Metamask

Session 9: Backend updates and finishing with the Web UI

  • Update model
  • View orders in Web UI
  • Actions with orders through the Web UI

Reviews

Average rating

5(1034 Reviews)