Coder Social home page Coder Social logo

hashdog / hlf-2.1-kubernetes-rails-6-nestjs-fabric-nodesdk Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 678 KB

Minimal workflow with Kubernetes + HyperLedger Fabric 2.2 + HELM + HELMFILE + TODO APP Rails 6 + Fabric-sdk-nestjs chaincode restapi

Shell 1.14% TypeScript 3.41% Ruby 3.61% JavaScript 90.98% CSS 0.07% HTML 0.78%

hlf-2.1-kubernetes-rails-6-nestjs-fabric-nodesdk's Introduction

HyperLedger Fabric 2.1 + KUBERNETES + HELM CHARTS + HELMFILE + TODO APP Rails 6 + Fabric-sdk-nestjs chaincode restapi

Hello

We are going to create a HLF 2.1 network, consisting of one consortium (a collection of organizations). This consortium includes two organizations: Org1 and Org2 . Both organizations provide each one peer. We will join those peers to a so called channel. The channel allows sending transactions between those two organizations. This is the minimum viable setup for a functional HLF blockchain network using kubernetes, helm charts, helmfile, rails and nestjs. After Create HLF network, a new rest-api service and todo app will be available for interacts with the chaincode installed

Requirenment

- Set rails.local in your /etc/hosts `127.0.0.1 rails.local`
- Have installed docker kubernetes or any kubernetes services

Usage

First, we going to generate all crypto material

./networkOps.sh prepare

then we going to start the network over your kubernetes cloud

./networkOps.sh start

and finally, we going to create and deploy a chaincode for test purpouses.

./networkOps.sh deploy

If you want to clean all it, you have to run

./networkOpts.sh clean

TODO App

open rails.local

it has to looks like this

todoapp

all request going to send directly to HYPERLEDGER FABRIC, if you want you can check the fabric ruby client

`lib/services/hyperledger_fabric_client.rb`

Acknowledgment

hlf-2.1-kubernetes-rails-6-nestjs-fabric-nodesdk's People

Contributors

chebyte avatar

Watchers

 avatar Agustin Giuggiolini avatar  avatar James Cloos avatar Claudio Ceballos Paz avatar

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.