{"id":26697667,"url":"https://github.com/nwthomas/supply-chain-dapp","last_synced_at":"2025-03-26T21:29:38.225Z","repository":{"id":42329816,"uuid":"199383027","full_name":"nwthomas/supply-chain-dapp","owner":"nwthomas","description":"A supply chain DApp written with Solidity and using Infura as a node connection","archived":false,"fork":false,"pushed_at":"2023-01-23T23:56:30.000Z","size":3048,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-03T18:07:26.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwthomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-29T05:18:01.000Z","updated_at":"2019-08-20T05:37:09.000Z","dependencies_parsed_at":"2023-01-26T14:30:19.891Z","dependency_job_id":null,"html_url":"https://github.com/nwthomas/supply-chain-dapp","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwthomas%2Fsupply-chain-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwthomas%2Fsupply-chain-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwthomas%2Fsupply-chain-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwthomas%2Fsupply-chain-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwthomas","download_url":"https://codeload.github.com/nwthomas/supply-chain-dapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245738340,"owners_count":20664258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-26T21:29:36.629Z","updated_at":"2025-03-26T21:29:38.218Z","avatar_url":"https://github.com/nwthomas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supply chain \u0026 data auditing\n\nThis 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.\n\nThe DApp User Interface when running should look like...\n\n![truffle test](images/ftc_product_overview.png)\n\n![truffle test](images/ftc_farm_details.png)\n\n![truffle test](images/ftc_product_details.png)\n\n![truffle test](images/ftc_transaction_history.png)\n\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nPlease make sure you've already installed ganache-cli, Truffle and enabled MetaMask extension in your browser.\n\n```\nGive examples (to be clarified)\n```\n\n### Installing\n\nA step by step series of examples that tell you have to get a development env running\n\nClone this repository:\n\n```\ngit clone https://github.com/udacity/nd1309/tree/master/course-5/project-6\n```\n\nChange directory to ```project-6``` folder and install all requisite npm packages (as listed in ```package.json```):\n\n```\ncd project-6\nnpm install\n```\n\nLaunch Ganache:\n\n```\nganache-cli -m \"spirit supply whale amount human item harsh scare congress discover talent hamster\"\n```\n\nYour terminal should look something like this:\n\n![truffle test](images/ganache-cli.png)\n\nIn a separate terminal window, Compile smart contracts:\n\n```\ntruffle compile\n```\n\nYour terminal should look something like this:\n\n![truffle test](images/truffle_compile.png)\n\nThis will create the smart contract artifacts in folder ```build\\contracts```.\n\nMigrate smart contracts to the locally running blockchain, ganache-cli:\n\n```\ntruffle migrate\n```\n\nYour terminal should look something like this:\n\n![truffle test](images/truffle_migrate.png)\n\nTest smart contracts:\n\n```\ntruffle test\n```\n\nAll 10 tests should pass.\n\n![truffle test](images/truffle_test.png)\n\nIn a separate terminal window, launch the DApp:\n\n```\nnpm run dev\n```\n\n## Built With\n\n* [Ethereum](https://www.ethereum.org/) - Ethereum is a decentralized platform that runs smart contracts\n* [IPFS](https://ipfs.io/) - IPFS is the Distributed Web | A peer-to-peer hypermedia protocol\nto make the web faster, safer, and more open.\n* [Truffle Framework](http://truffleframework.com/) - Truffle is the most popular development framework for Ethereum with a mission to make your life a whole lot easier.\n\n\n## Authors\n\nSee also the list of [contributors](https://github.com/your/project/contributors.md) who participated in this project.\n\n## Acknowledgments\n\n* Solidity\n* Ganache-cli\n* Truffle\n* IPFS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwthomas%2Fsupply-chain-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwthomas%2Fsupply-chain-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwthomas%2Fsupply-chain-dapp/lists"}