Skip to main content

UI

Requirements

Node.js version 16.13 or above (which can be checked by running node -v). You can use nvm for managing multiple Node versions on a single machine installed.

Installation

Clone code to your local

git clone git@github.com:FeatureProbe/FeatureProbe.git
cd FeatureProbe/ui
npm install

Start development server

npm run start

This command starts a local development server and opens up a browser window, the default port is 3000. Visit http://localhost:3000 to get the UI page.

Proxying API Requests in Development

By adding a proxy filed in package.json, you can tell the development server to proxy all the requests to an API server in development.

"proxy": "https://featureprobe.io/"

The default setting is our online demo service: https://featureprobe.io/, if you have deployed your own API service, change this field your own.

Deloyment

If you want to deploy UI project independently, refer this doc: UI Service