Establish a secure, trustworthy, connected system that provides actionable insight from farm to fork for food in the Consumer Packaged Goods industry.
Main Priorities:
- Tracking goods and verifying product source
- Identify food safety concerns and recalls
- Integrating upstream and downstream processes and reduce human error
- Develop real-time actionable insight
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The blockchain side of the application will not record data unless a blockchain instance has been provisioned and connected with the appropriate chaincode.
Dashboard - shows the various parameters of the assets that are being trasacted as well as a list of these assets. These parameters include: Asset ID, Type, Price, Period, price change, current status
- Node JS
- Angular CLI
- NPM
Installing without Brew
curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"
npm install -g @angular/cli
With homebrew
brew install node
brew install angular-cli
The application is a multipart application which has three parts.
Front end - Interfaces with the middleware inorder to show all the data
Middleware - interfaces with the blockchain and holds all the api interfaces
Blockchain - records all the data for immutiblity
This guide is made with the assumtion that a blockchain instance has already been created. In order to create a blockchain, if one is not available please follow the creating a blockchain instance guide.
- Access block chain from www.cloud.oracle.com
- Click on signin on the top bar
- Sign into the tenancy
- Sign in with your SSO in order to access the environement
- Double check your instance is running in the list
- In order to check any details of the instance click on the hamburger menu to the left of the instance
cd UI/Middleware
npm install
npm start
cd UI/Frontend
npm install
npm start
open http://localhost:4200
No test need to be ran at this time
- Angular 7
- Node.js
- oracle blockchain
##Unsolved problems, etc.
- CORs issue is currently underdevelopment, and in order to use the front end cors plugin needs to be used in chrome - this is a front end archture issue
- could use a beutified layout
- styling
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
1.0.0
Ilya Osovets -- ilya0
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- App Dev Oracle Hub