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.
-
yarn install
-
Start webpack -
yarn dev
-
Open the URL listed in the terminal output.
- Start HAC Core locally -
LOCAL_HAC_DEV=true ENVIRONMENT=prod yarn dev
- Start HAC Dev with module federation -
yarn federated
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
yarn verify
will run yarn lint
(eslint) and npm test
(Jest). To generate contracts using Pact, run yarn 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.