This is the user interface for Kaoto Backend. Kaoto is an easy-to-use visual integration framework based on Apache Camel.
For trial purposes, there is a docker image that can be run as described on the quickstarter.
Follow the instructions on https://github.com/KaotoIO/kaoto-operator/
If you want to run Kaoto-ui in your machine, follow these instructions. Remember that you need a backend running.
- Node >= 14
- Yarn (1.x)
- Install dependencies:
yarn install
- Duplicate the
.env.example
file and name it.env
. - Update
KAOTO_API
in the file with the correct host for the API backend. If using Kaoto locally, this should behttp://localhost:8081
, but please check.
Run the app in development mode:
yarn start
Open http://localhost:1337 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Run all Jest and React Testing Library unit tests:
yarn test
Launches the test runner in the interactive watch mode.
Tests are colocated and live as closely to corresponding code as possible.
E2E tests are located in the /cypress
directory. Run all Cypress E2E tests headlessly:
// in the browser
yarn e2e
// headlessly
yarn e2e:headless
// with a specific browser
// optons: chrome, chromium, edge, electron, firefox
// or specify a path: /usr/bin/chromium
yarn e2e --browser firefox
See the Cypress docs for more information. There are also GitHub Actions workflows in .github/workflows
that run the tests automatically on opening a pull request.
yarn build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!