โ ๏ธ 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 withnvm 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 tohttp://localhost:8083
-
serve:nightly
: Start the app in dev mode (with hot reload) and proxy backend calls tohttps://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 todist
-
serve:prod
: Start the built app (fromdist
folder) and proxy backend calls tohttp://localhost:8083
. Donโt forget to runnpm 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 [email protected]: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
npm install
, and so you will need to rerun the previous snippet to link the library.