Skip to content

Admin Dashboard

The EdgeFlags admin dashboard is a React web application for managing flags, configs, segments, tokens, and project settings through a visual interface.

Accessing the dashboard

Production

Visit edgeflags.net and sign in with your admin token.

Local development

Start the API worker and admin UI in separate terminals:

Terminal window
# Terminal 1: API server
nix develop -c npm run dev
# Terminal 2: Admin UI
cd admin && nix develop -c npm run dev

The admin UI runs on http://localhost:5173 and proxies API requests to the worker on port 8787.

Login

Enter your API token on the login screen. The token must have appropriate permissions for the features you want to access. Admin (*) tokens provide full access to all dashboard features.

Session tokens are stored in the browser and automatically included with API requests.

Dashboard

After login, the dashboard shows an overview of your project:

  • Total number of flags, configs, and segments
  • Recent audit log entries
  • Quick links to create new resources

The sidebar provides access to all sections:

  • Flags — manage feature flags and targeting rules
  • Configs — manage configuration values
  • Segments — define reusable user segments
  • Tokens — create and revoke API tokens
  • Playground — test flag evaluation with custom contexts
  • Audit Log — view change history
  • Settings — project configuration and environments

Theme

The dashboard supports light and dark themes. Toggle between them using the theme switcher in the sidebar. Your preference is saved to localStorage.