gravitee-management-webui
gravitee-management-webui copied to clipboard
Gravitee.io - API Management - Management UI
= ⚠️ DEPRECATED
This repository is no longer active, all the sources have been moved to https://github.com/gravitee-io/gravitee-api-management/tree/master/gravitee-apim-repository/gravitee-apim-repository-mongodb[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 https://docs.gravitee.io/apim/3.x/apim_installguide_management_ui_install_zip.html[Gravitee.io Documentation Website].
== Contributing
=== Install
Prerequisites:
-
Install https://github.com/nvm-sh/nvm[nvm]
-
Use with
nvm use
or install withnvm install
the version of Node.js declared in.nvmrc
-
Then install dependencies with: [source,bash]
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 https://github.com/gravitee-io/gravitee-ui-components[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.
[source,bash]
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
⚠️ 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.