React.js application for HAC Developer Experience built using Patternfly 4 and shared Red Hat cloud service frontend components. This application integrates into cloud.redhat.com using Webpack 5 module federation.
HAC Developer Experience will deliver the UI for App Studio.
-
npm install
-
For devsandbox -
npm run start:prod:beta
-
For KCP -
npm run start:prod:beta:kcp
-
Open the URL listed in the terminal output.
To use webpack proxy you need to append this to your /etc/hosts
for auth:
127.0.0.1 prod.foo.redhat.com
127.0.0.1 stage.foo.redhat.com
127.0.0.1 qa.foo.redhat.com
127.0.0.1 ci.foo.redhat.com
npm run verify
will run npm run lint
(eslint) and npm test
(Jest). To generate contracts using Pact, run npm run pact
command. Read more about Pact contract tests here.
We encourage public contributions! Please review CONTRIBUTING.md for details on our code of conduct and development process.