Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Gravitee.io - API Management - Management UI

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE.txt
Unknown
license-check-config.json
Notifications You must be signed in to change notification settings

gravitee-io/gravitee-management-webui

Repository files navigation

⚠️ DEPRECATED

This repository is no longer active, all the sources have been moved to APIM monorepo.

The new repository will be become the single GitHub repository for everything related to Gravitee.io API Management.

Gravitee Management Webui

Description

This repo contains the source code of APIM Console.

APIM Console is a client-side only Angular application and can be deployed on any HTTP server, such as Apache or Nginx.

For more information about installation and usage, see Gravitee.io Documentation Website.

Contributing

Install

Prerequisites:

  • Install nvm

  • Use with nvm use or install with nvm install the version of Node.js declared in .nvmrc

  • Then install dependencies with:

npm install

Getting started

Here are the useful NPM scripts available when developing in APIM Console:

  • serve: Start the app in dev mode (with hot reload) and proxy backend calls to http://localhost:8083

  • serve:nightly: Start the app in dev mode (with hot reload) and proxy backend calls to https://nightly.gravitee.io

  • lint:eslint: Run ESLint and Prettier

  • lint:eslint:fix: Run ESLint in auto fix mode and Prettier in write mode

  • test: Run unit tests with Jest

  • build:prod: Build the app in production mode and output the result to dist

  • serve:prod: Start the built app (from dist folder) and proxy backend calls to http://localhost:8083. Don’t forget to run npm run build:prod to build the app before starting serving it.

About WIP dependencies

This project uses Gravitee UI Components library and sometimes changes need to be done in both projects at the same time. If you want to develop in parallel, you can clone the repository and link to the project.

git clone git@github.com:gravitee-io/gravitee-ui-components.git
cd gravitee-ui-components
npm link

# Go back to gravitee-management-webui folder
cd ../gravitee-management-webui
npm link @gravitee/ui-components

⚠️ The npm link will be removed if you run npm install, and so you will need to rerun the previous snippet to link the library.