/codegate-ui

This repository contains the CodeGate dashboard user interface.

Primary LanguageTypeScript

CodeGate Dashboard

Coverage Status

This repository contains the CodeGate dashboard user interface. The dashboard presents information about CodeGate's security insights and activity, including:

  • Prompt and chat conversation history
  • Security alert counts and daily trend
  • Alert history with secrets and package risks detected by CodeGate
  • CA certificate download and installation instructions

Setting up local development environment

To run a local development environment, start by running a copy of the CodeGate application or container. The UI will connect to the API endpoint at http://localhost:8989 by default. To change this, set the VITE_BASE_API_URL environment variable.

Install all dependencies and run a dev server:

npm install

Running the development server

Run the development server using:

npm run dev

Open http://localhost:5173 on your browser to see the dashboard

Build production

Run the build command:

npm run build

Running production build

Run the production build command:

npm run preview