GithubHelp home page GithubHelp logo

doc-reg-cli's Introduction

DOCUMENT-REGISTRY ICP CLI

image

This is a node js application that helps users verify documents that have been issued by an organization.

The application uses the encryption methods sha256 and ICP encode to produce a distinct key that is identifiable to that single issued document.

Canister Parameters

  • Users have the ability to add documents to the contract and they can also delete the documents they added.
  • Other users can verify if a document already exists on the registry.

Use Cases

  1. This Dapp can be used by document issuing organizations, like schools, business, e.t.c.
  2. It can be used to ensure validity of a perticular document, and help reduce the effect of forgery in the professional world.

Development

The project runs on node js and AZLE. To test:

  • clone the repo
git clone https://github.com/Tamara-Ebi-Pere-Victor/Doc-Reg-CLI.git
  • cd to server directory and install the dependencies
npm install
  • then run the following commands to start the icp canister. take note of wallet canister and canister id of application
    dfx start --background --clean
    dfx deploy
  • cd to the app directory and and install the dependencies
npm install
  • create a .env file with the following parameters gotten from the canister deployment.
APP_CANISTER_ID=
APP_USER_ID=
  • Then run the command to start the node js application.
npm start

N/B: there are files in the examples folder that you can use to test. ./examples/<file name>

Commands Available

image

doc-reg-cli's People

Contributors

emmanuel-umeh avatar

Stargazers

Tevin-Isaac avatar

Watchers

Victor Pere avatar

Forkers

v2i0s2h2

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.