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
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
Run the development server using:
npm run dev
Open http://localhost:5173 on your browser to see the dashboard
Run the build command:
npm run build
Run the production build command:
npm run preview