GithubHelp home page GithubHelp logo

chainettech / certified Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ashraftasin/certified

0.0 0.0 0.0 64.58 MB

Hyperledger Fabric based Certificate Verification System

Shell 29.02% JavaScript 19.24% Go 2.50% CSS 21.44% EJS 27.80%

certified's Introduction

Certified

Hyperledger Fabric based Certificate Verification System

  • Register as an SUST Organization and upload student/employee data .
  • These Data gets stored on Blockchain.
  • Now Organization (SUST/StarTech) can query using students id no and if it's in the blockchain
    they will see a Certificate inscripted with students details, CGPA ,other details associated with it.

Team-Members : 2017331014 & 2017331064

Screenshots :

Prerequisition:

Make sure you have hyperledger fabric binaries, GoLang , Docker , Docker Container , node installed in your system. And all the path added correctly to system. also install nodemon package using

command : sudo npm install -g nodemon

For details visit https://hyperledger-fabric.readthedocs.io/en/release-2.2/prereqs.html

How to Run this project:

Clone this repo to your local machine. Make sure you are using ubuntu / any other linux distros.

1. Open a terminal and run down.sh file command : ./down.sh
This will take down all the dokcer container running previously on your system

2. Now run up.sh command : ./up.sh This will bring up the network

3. Change the directory to api-2.0 command : cd api-2.0

4. Run the following command : npm install This will install all the dependency required for this project. now run : sudo nodemon app.js

5. If you get the error : "Internal watch failed: ENOSPC: System limit for number of file watchers reached"
run : echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

6. If everything is done correctly, server will be up and runnig on port 4000 go to the browser and type localhost:4000/register to register a new id you must provide the Organization either 'sust' or 'startech' (case sensitive).

7. Now log in using the credentials.

8. If you registered as 'sust' you'll be able to upload student data. Fill up every field and upload.

9. Now GO tho the "Query Certificate" option and fill up the fields.

10. Click Submit and you'll be able to see the certificate.

11. If you log in as 'startech' you'll be able to query data only.

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.