The Food Traceability App is a decentralized application (DApp) that utilizes Ethereum smart contracts to showcase the traceability of food products along the supply chain. The app allows users to add food products, register vendors, and verify vendor information on the blockchain. Discover how blockchain can revolutionize the way we track and verify the journey of food products from producers to consumers.
-
Add Food Product: Users can add new food products to the blockchain with details such as product name, producer, and platforms.
-
Register Vendor: Vendors can register on the blockchain by providing their name and Ethereum address.
-
Verify Vendor: Registered vendors can be verified by interacting with the smart contract.
-
Traceability Data: View a table of traceability data for each food product, including product name, producer, timestamp, and platforms.
-
Vendor Information: Access information about registered vendors, including their name, address, and verification status.
-
About Me: Learn more about the developer and their passion for blockchain technology and its applications in the food industry.
-
Contact Details: Get in touch with the developer via email or Twitter for questions or inquiries.
- React: Frontend development
- react-bootstrap: Styling and UI components
- Web3.js: Interaction with Ethereum blockchain
- Solidity: Smart contract development
- Ethereum: Decentralized blockchain platform
-
Clone the repository:
git clone https://github.com/Kayleexx/food-traceability-app.git
-
Install the dependencies ( IF THE DEPENDENCIES DOES NOT INSTALL CORRECTLY THEN USE --force ):
cd food-traceability
npm i
- Start the development server:
npm start
-
Make sure you have MetaMask or another Ethereum wallet extension installed in your browser.
-
Connect to the Mumbai testnet on MetaMask to interact with the app.
-
Explore the app by adding food products, registering vendors, and verifying vendor information.
Contributions to this repository are not accepted as it is for personal assignments. However, if you have suggestions or feedback, feel free to open an issue.
Mitali Sinha
This project is licensed under the MIT License. You are free to modify and distribute the code for personal and educational purposes.