Git Product home page Git Product logo

supply-chain-truffle-react's Introduction

Simple Supply Chain Simulation

Supply chain simulation using blockchain.

๐Ÿ”ง Setting up Local Development

Step 1

Open ganache UI/cli and configure truffle-config.js file. Not required for most cases.

Step 2

Import the ganache local blockchain accounts in metamask using the mnemonic provided.

Step 3

Clone the repo

git clone https://github.com/codeTIT4N/supply-chain-truffle-react.git
cd supply-chain-truffle-react

Step 4

Compile and deploy the smart contract

npx truffle compile
npx truffle migrate

NOTE: If you make changes in the smart contract you have to redeploy it using npx truffle migrate --reset

Step 5

Install node_modules using yarn

cd client
yarn

Install node_modules using npm

cd client
npm install

Step 6

Start the development server using yarn

yarn start

Start the development server using npm

npm start

The site is now running at http://localhost:3000! Open the source code and start editing!

supply-chain-truffle-react's People

Contributors

arya-vats avatar codetit4n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

supply-chain-truffle-react's Issues

loading Page ...

Uploading Pharma Supply Chain - Google Chrome 2022-04-28 17-21-04.mp4โ€ฆ

setCurrentaccount is also set properly all things are going right but there is still setloader value is not changing

I'm stuck.

Hello, @codeTIT4N could you help me I got stuck at a certain phase. SS is below. Could you please provide me with your whats app number so we chat.
image

Loading Page

I keep getting stuck on loading page if i press any button that isnt the register button

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.