Giter Club home page Giter Club logo

educhain-chaincode's Introduction

EduChain

EduChain is a dApp that originated from my MBA in Blockchain Development course final project. It tracks progress, participation and certification on courses and is originally aimed at empowering and rewarding continuous improvement and training for education professionals.

The solution consists of three basic layers:

  • Client Application
  • Web RESTful API
  • Blockchain and chaincode (Hyperledger Fabric)

How it works

The following use cases are to be implemented

  • Create, Read, Update and Delete Users
  • Read User's Certification details
  • Create, Read, Update and Delete Courses
  • Enroll and Disenroll Users on Course
  • Instructor Emits a Certification for a User enrolled on a Course
  • Validate Certification's details with Student, Instructor and Course details

The Client Application serves as a presentation layer and as an User Interface to trigger the deseired actions. The Web API serves as a middleware connecting directly to the blockchain peer and serving the results back to the Client App. The chaincode itself executes all the logic and persistence of the solution.

How to build and deploy

All layers use Typescript/Node.js as a common language, so in each relevant directory, install all dependencies with:

yarn

and run each layer independently:

Client App

yarn run serve

Web API

yarn run start

Fabric chaincode

  • See Hyperledger Fabric dependencies and basic test-network guide here
  • Run Fabric test network
# Clean previous network
./network.sh down

# Start new network with default channel and a couchdb instance for private data
./network.sh up createChannel -ca -s couchdb
  • Deploy chaincode to test-network
./network.sh deployCC -ccn certchain -ccp ../blockcertchain/chaincode/ -ccl typescript -ccep "OR('Org1MSP.peer','Org2MSP.peer')" -cccg ../blockcertchain/chaincode/collections_config.json

educhain-chaincode's People

Contributors

fbaptistaecotrace avatar chicobaptista avatar

Stargazers

Zappone Federico avatar

Watchers

James Cloos avatar  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.