ICP System requires a compatible REST API backend. The frontend proxies all
/api requests to the backend host you configure in your .env file. Make sure your backend is running and reachable before starting the dev server.Prerequisites
Before you begin, make sure you have the following installed and available:
- Node.js v18 or later (v20+ recommended)
- npm v9 or later (bundled with Node.js)
- Access to a running ICP System backend API — see Backend API for setup instructions
Clone the repository and install dependencies
Clone the repository and install the project’s npm dependencies from inside the npm will install all runtime and development dependencies declared in
red-dashboard/ directory.package.json, including React 19, Material UI v7, TanStack Query, Recharts, and Vite.Configure the environment
Create a Vite’s dev server is pre-configured to proxy all requests that start with
.env file at the root of the red-dashboard/ directory (next to package.json) and set VITE_API_BASE_URL to point at your backend API:/api to http://127.0.0.1:8000, so the frontend never makes cross-origin requests during local development. If your backend runs on a different host or port, update both VITE_API_BASE_URL and the proxy target in vite.config.ts to match.Start the development server
Run the dev server with:Vite will compile the project and open a local server, typically at
http://localhost:5173. The terminal output will show the exact URL.Other available scripts:Log in
Open your browser and navigate to:Enter your username and password, then click Entrar. On success, the server returns a JWT access token that is saved to
localStorage under the key access_token. You are then redirected to the home page.If you enter incorrect credentials, the login page displays: “Credenciales inválidas. Verifica tu usuario y contraseña.”User accounts and passwords are managed through the backend API. Ask your administrator if you do not have credentials yet. See Users & roles for how accounts are created.
Explore the Capacity & Risks dashboard
After logging in, you land on the Capacity & Risks dashboard — the home page of ICP System. From here you can:
- Review KPI cards showing total contracted, assigned, and available bandwidth
- Inspect risk distribution across your connections
- Navigate to Providers, Nodes, Connections, Clients, Equipment, or Zabbix monitoring using the sidebar