Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 1.32 KB

README.md

File metadata and controls

52 lines (27 loc) · 1.32 KB

HAC Developer Experience

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.

Getting started

Run with webpack proxy

  1. yarn install

  2. Start webpack - yarn dev

  3. Open the URL listed in the terminal output.

Run with local HAC Core

  1. Start HAC Core locally - LOCAL_HAC_DEV=true ENVIRONMENT=prod yarn dev
  2. Start HAC Dev with module federation - yarn federated

Update /etc/hosts

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

Testing

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.

Contributing

We encourage public contributions! Please review CONTRIBUTING.md for details on our code of conduct and development process.

Further Reading