Skip to content

openmcp-project/ui-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REUSE status

ui-frontend

About this project

This repository contains code relevant for the frontend component required in the Managed Control Plane UI (MCP UI), which is part of the @openmcp-project, more info here.

The MCP UI enables endusers to work with Managed Control Planes, without having to use kubectl. Note that the current focus of the UI is on displaying information about the various managed resources, as well as the MCP instances themselves. It is also possible to check the status of the resources, and display / copy their YAML representations.

Overall, the UI provides an easy jump-start for everyone interested in checking the status of Managed Control Planes, without having to use kubectl.

Requirements and Setup

Development

  1. install dependencies: npm i

  2. Copy the frontend-config.json to public/frontend-config.json and adapt the backendUrl according to your setup (see section Dynamic Frontend Config).

  3. Connect to the ui-backend server Run it locally:

    • See https://github.com/openmcp-project/ui-backend
  4. Start the application:

    Run npm run dev

Build

  1. Build the application:

    Run npm run build

  2. Serve the application locally:

    Run npm run preview

  3. For production:

    Use the docker image which uses nginx for best performance and small bundle size. docker build -t my-label .

Dynamic FrontendConfig

The frontend loads a frontend-config.json file from the root folder containing dynamic config like the backend url. For development, the file frontend-config.json can be copied to public/frontend-config.json. For production, NGINX will serve the content from the environment variable BACKEND_CONFIG.

An example docker run command would be

docker run -p 5001:80 -e BACKEND_CONFIG="$(cat frontend-config.json)"  -t ui-test

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2025 SAP SE or an SAP affiliate company and ui-frontend contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Packages

 
 
 

Contributors 10