Messi-Q / Resource-CI

A platform for resource confirmation and infringement tracking is based on react.js and hyperledger farbic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resource Confirmation and Infringement Tracking GitHub stars GitHub forks License

Introduction

  This application aims to implement a website about resource uploading,trading,confirming and so on. Users can upload and download files(pictures,pdf,video are available) and purchase ownership and read-rights of the resources in the website; the ownership of the file can confirm the file and confirm the right to use the method of adding watermark.

  The website uses react+redux to implement the front page and logic, the server uses the nodejs+express framework, the database uses mysql(mongodb is also possible); the JWT (json web token) tool is used to store the browser after user logs in.

  The highlight of this system is based on blockchain technology, using hyperleger composer (a coalition chain) to write smart contracts, execute the composer-rest-sever command, provide access to the composer api interface, and the foreground uses the fetch tool to call the rest-api interface. Implement interaction with blockchain data.The code of smart-contracts given here.

Deploy this application

  To deploy this application, you need to install the environment of Hyperleger Composer.

  1.Client

  Front-end development mainly uses the react framework.This project was bootstrapped with Create React App. You will find some information on how to perform common tasks here.
To install this repo and find out more about the sample applications, run (from the directory -- client):

  npm install (Install related dependencies)
  npm start (start the react)

This will open the main page, as well as Playground(http://localhost:8080) and the REST server(http://localhost:3000).

  2.Server

  Backend development mainly uses the express framework.

To open the server and find out more about the sample applications, run (from the directory -- server):

  npm install (Install related dependencies)
  npm start (start the server)

This will open the server, as well as the connection of mysql.

Reference

Peng Qian, Zhenguang Liu, Xun Wang, Jianhai Chen, Bei Wang, Roger Zimmermann. 
Digital Resource Rights Confirmation and Infringement Tracking Based on Smart Contracts. 
IEEE CCIS 2019. Best Paper Runner-up Award.

About

A platform for resource confirmation and infringement tracking is based on react.js and hyperledger farbic.

License:MIT License


Languages

Language:JavaScript 94.5%Language:CSS 2.3%Language:Python 2.1%Language:HTML 1.1%