# blockchain-supplychain **Repository Path**: meimo/blockchain-supplychain ## Basic Information - **Project Name**: blockchain-supplychain - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-16 - **Last Updated**: 2022-02-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Blockchain-Supplychain ## Setup This node project contains chaincode and a node app for a supply-chain blockchain demo. To get setup - just.... Install node dependencies: ``` npm install ``` Add the array of peers to config.json - in the following format ``` { "peers": [{"user": "username_to_connect_with", "endpoint": "host.app.com:5004"}] } ``` ## Usage Deploy your chaincode to your peers ``` npm run deploy ``` Start server to query chaincode ``` npm start ``` ## Querying A GET request to localhost:3000/ will query the chaincode using the details in config.json