Note: This repository is still under active development! Breaking changes are possible, and we are working on improving code quality.
A high level of transparency across the supplier network enables faster intervention based on a recorded event in the supply chain.
This saves costs by seamlessly tracking parts and creates trust through clearly defined and secure data access by the companies and persons involved in the process.
This application serves as a user entry point to PartChain network.
It's written in Typescript based on Angular framework.
Source files are expose statically thru the NGINX web server.
Clone the source locally:
$ git clone ${path}
$ cd partchain-webapp
If you're using angular for the first time, run npm install -g @angular/cli
to install the angular command line interface.
This project was generate with Angular CLI version 10.2.4.
Find here documentation to support you during the development and configuration of the app.
The user authentication is manage by keycloak and each organization has its own realm.
This application supports multi tenancy authentication, so you must specify your realm to be redirect to the correct auth page.
E.g. http://localhost:4200/lion
If multi tenancy is disable, the default realm is considered.
You can manage those configurations on the environment files.
export const environment = {
multiTenant: true,
defaultRealm: 'lion',
...
};
These guidelines are define to maintain homogeneous code quality and style. It can be adapted as the need arises.
New and old developers should regularly review this guide to update it as new points emerge and to sync themselves with the latest changes.
Find here the documentation with all the available ui components.