Design and implement a system that allows users to track and trace supply chain items.
The system will have two main components:
- REST API
- Web Application
The Web Application, (Single Page Application) at a minimum, must:
- Offer end users the capability to query the supply chain trail of an item by using the query interface offered by the REST API.
- It must be Javascript / TypeScript using your favourite SPA framework.
The following bonus requirements could also be met:
- Responsive web application, as mobile users are also expected.
- Dockerfile for deployment of the Web application.
- Install NodeJS on your host machine
- Clone this repository
git clone https://github.com/SrMoffat/iota-logistics-frontend.git
cd iota-logistics-frontend- Install dependencies
yarn OR npm install- Export environment variables (After adding correct values to
.envas per.env.example)
cat .env.example >> .env- Export environment variables
set -o allexport; source .env; set +o allexport- Start the app
yarn dev- Open the browser window on
http://localhost:3000for web application (Single Page App)