insights-inventory-frontend
v0.0.1
Published
[![Build Status](https://jenkins-insights-jenkins.1b13.insights.openshiftapps.com/buildStatus/icon?job=insights-inventory-frontend/insights-inventory-frontend-ci)](https://jenkins-insights-jenkins.1b13.insights.openshiftapps.com/job/insights-inventory-fro
Downloads
4
Readme
Insights Inventory Frontend
This is the frontend application for Insights Inventory. It is based on the insights-frontend-starter-app.
Getting Started
There is a comprehensive quick start guide in the Storybook Documentation to setting up an Insights environment complete with:
- A frontend application
- Insights Chroming
- [Insights Proxy]
Note: You will need to set up the Insights environment if you want to develop the inventory app due to the consumption of the chroming service as well as setting up your global/app navigation through the API.
Insights Proxy
Insights Proxy is required to run the inventory frontend application. Note that a inventory-specific proxy configuration is required for now for the frontend application to be able to talk to the Inventory API POC. To run the proxy with inventory-specific configuration run:
SPANDX_CONFIG="$(pwd)/insights-inventory-frontend/config/spandx.config.js" bash insights-proxy/scripts/run.sh
Running the app
npm install
npm run start
- starts webpack bundler and serves the files with webpack dev server
Testing
There is an npm script that runs the build, JS and CSS linters and unit tests. The script can be invoked by
npm run verify