pmuir / apicurio-registry-mt-ui

Multi-tenant UI application for Apicurio Registry.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

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!

See the section about deployment for more information.

Docker Details

Build the docker image

docker build -t="apicurio/apicurio-registry-mt-ui" --rm .

Run the docker image

docker run -it -p 8080:80 -e TENANT_MANAGER_API=http://tenant-manager.example.com:8585/api/v1 apicurio/apicurio-registry-mt-ui

Note: you will need to pass some environment variables when running the docker image. See the table below for details:

Name Description Example
TENANT_MANAGER_API URL of the Tenant Manager API. http://localhost:8585/api/v1

Push the docker image

If you've made changes to the docker image, you can push it to docker hub using e.g.:

docker push apicurio/apicurio-registry-mt-ui:latest

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

Multi-tenant UI application for Apicurio Registry.

License:Apache License 2.0


Languages

Language:TypeScript 94.5%Language:JavaScript 3.5%Language:HTML 0.8%Language:Shell 0.4%Language:CSS 0.4%Language:Dockerfile 0.4%