Go back to gravitee-management-webui folder
October 20, 2021 · View on GitHub
= ⚠️ 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 useor install withnvm installthe 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:8083serve:nightly: Start the app in dev mode (with hot reload) and proxy backend calls tohttps://nightly.gravitee.iolint:eslint: Run ESLint and Prettierlint:eslint:fix: Run ESLint in auto fix mode and Prettier in write modetest: Run unit tests with Jestbuild:prod: Build the app in production mode and output the result todistserve:prod: Start the built app (fromdistfolder) and proxy backend calls tohttp://localhost:8083. Don't forget to runnpm run build:prodto 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 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.