alfahami / bcertificate

A Hyperledger blockchain network that automates the issuance, dispatch, and management of university's digital credentials (diplomas, skills, transcripts, degree certifications, etc).
5 stars 5 forks source link
blockchain blockchain-technology distributed-ledger expressjs fabric fabric-api fabric-java-sdk fabric-sdk-node hyperledger hyperledger-fabric node-js smart-contracts wallet

Quick intro

BCertificate is a Hyperledger blockchain full application that automates the issuance, dispatch, and management of university's digital credentials (diplomas, skills, transcripts, degree certifications, etc).

A blockchain network that let schools, colleges and universities add their credentials in the blockchain which could help against fraud papers.

The network was built using Hyperledger Fabric V2.X.X and the test were made on Linux/Debian 10 Buster, WSL/Debian 10 Buster and WSL/Ubuntu machines but should work on any given OS.

The web app is built with NodeJS, ExpressJS, REST API and pug template engine as a render for the front-end.

Configuration and running

_NB: Having docker installed in one's OS is a MUST_.

TL;DR : if one's familiar with hyperlegder fabric and have everything needed for it to run set up, move to certificate-network/certificate-starter/ and run & execute the network.

If you have never dealth with Hyperledger Fabric before, then you might want to grab the version that suits well this project.
Download the sources of fabric-samples version-2.0.0 repository or grab them from my fabric-sample 2021's fork and do the following:

BCertificate is built on top of Hyperledger Linux foundation, thus it's a must to install and configure Hyperledger first.

Hyperledger installation and configuration

Prerequisites:

Hyperledger:

BCertificate, installation and running

Now how do we start our HL network and get our web app running?

First and foremost, download or clone this repo.\ Repo structure:

Run & Execute Certificate

Now that we went through all the folder and script let's see how we to start the app step by step :

alt text

Adding a certificate\ Note that one can add a list of certificate by importing an excel sheet (.xls). http://localhost:8080/api/addcertificate

alt text

Git GitHub's certificate\ http://localhost:8080/api/query/CERT11

alt text

BLOCKCHAIN LAND MANAGEMENT SYSTEM

If you find interest in this project.
You might also look at a similar project that manage land certificates with QR Code where a client request a certificate to a land conserver and this latter add it in their blockchain network land certificate management.

Once again the main idea was to get familiar with how Hyperledger Fabric build and handles blockchain rahter than the user application and user experience.

Contributions, remarks & questions

Please contact me by email in case you've got questions, remarks, can't launch the app ... regarding the project.\ Feel free to contribute by creating an issue and/or a pull request. \ The main focus was on getting familiar with Hyperledger and its different ways of building blockchain solutions.

Author

AL-FAHAMI TOIHIR\ FACULTY OF SCIENCE - KENITRA\ MATHEMATICS & COMPUTER SCIENCE DEPARTMENT

Licence:

This project is avalaible as open source under the terms of licence MIT.