https://github.com/jogendra/farmers-bank
Application for selling and buying crops for farmers using HyperLedger technology.
https://github.com/jogendra/farmers-bank
blockchain blockchain-technology hyperledger hyperledger-composer hyperledger-fabric
Last synced: over 1 year ago
JSON representation
Application for selling and buying crops for farmers using HyperLedger technology.
- Host: GitHub
- URL: https://github.com/jogendra/farmers-bank
- Owner: jogendra
- License: mit
- Created: 2018-11-11T17:52:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T08:17:23.000Z (over 7 years ago)
- Last Synced: 2025-03-21T09:35:21.704Z (over 1 year ago)
- Topics: blockchain, blockchain-technology, hyperledger, hyperledger-composer, hyperledger-fabric
- Language: CSS
- Homepage:
- Size: 1.84 MB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Farmers Bank
Application for selling and buying crops for farmers using HyperLedger technology.
---
## Developers and Maintainers
The project is developed and maintained by
- Jogendra Kumar ([jogendra](https://github.com/jogendra))

Jogendra Kumar
# Instructions to run
- Clone the repo `git clone https://github.com/jogendra/farmers-bank.git`
## Running the API Backend
- Goto the API directory
- First install the [Hyperledger composer](https://hyperledger.github.io/composer/latest/installing/installing-prereqs.html). Then install the [development environment](https://hyperledger.github.io/composer/latest/installing/development-tools.html).
- `composer archive create -t dir -n .`
- `composer network install --card PeerAdmin@hlfv1 --archiveFile api@0.0.1.bna`
- `composer network start --networkName api --networkVersion 0.0.1 --card PeerAdmin@hlfv1 --networkAdmin admin --networkAdminEnrollSecret adminpw --file networkadmin.card`
- `composer card import --file networkadmin.card`
- `composer-rest-server -c admin@api -n always -u true -d y -w true`
- Goto `http://localhost:3000/explorer` to explored the REST API
# Running the Front end
- Make sure you are running the API Backend
- Open the `index.html` file
- The front end is up and running
## License
This project is available under the MIT license. See the [LICENSE](LICENSE) file for more info.