dkalog / AgrifoodDemoApp

This project is to demonstrate how FIWARE can be integrated with DLTs/Blockchain and to be presented in FIWARE Wednesday webinar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agrifood Supply Chain (DEMO)

The project is to demo demonstrate how FIWARE can be integrate with a blockchain/DLTs for FIWARE wednesday webinars.

Prerequisite

  • NodeJS version 10
  • NPM version 6
  • docker
  • docker-compose
  • git
  • postman

Usage

$ git clone https://github.com/FIWARE-Blockchain/AgrifoodDemoApp

and import api-collection in the postman client.

For IOTA

$ cd iota
$ docker-compose up

For ETH

$ cd eth
$ docker-compose up

Frontend Application

The frontend application is developed using vue-cli.

Config

you can find the configuration at src/config.js

$    ORION : process.env.CONTEXT_BROKER || "http://localhost:1026",
$    IOTA_CLIENT: process.env.IOTA_CLIENT || "http://localhost:3001",
$    ETH_CLIENT: process.env.ETH_CLIENT || "http://localhost:3002",
$    DLT_TYPE: process.env.DLT_TYPE || "iota", // or eth

** Video https://www.youtube.com/watch?v=ITSxtlCmNhQ

** Slide https://www.slideshare.net/FI-WARE/fiware-wednesday-webinars-integrating-fiware-with-blockchaindlts

Usage

$ cd Agrifood
$ npm install
$ npm start

Access

http://localhost:8080

License

MIT © 2020 FIWARE Foundation e.V.

About

This project is to demonstrate how FIWARE can be integrated with DLTs/Blockchain and to be presented in FIWARE Wednesday webinar.


Languages

Language:JavaScript 53.9%Language:Vue 42.3%Language:Dockerfile 2.1%Language:HTML 1.3%Language:Shell 0.4%