Admin Portal — Introduction
The Admin Portal (internally called Pegasus One Admin) is the internal management interface for ChartChat. It is used by administrators to manage hospitals, SSO integrations, support tickets, reports, patients, users, bots, and system configuration.
Patients never access this portal — it is for internal staff only.
What it is built with
| Technology | Purpose |
|---|---|
| React + TypeScript | UI framework |
| Vite | Build tool and dev server |
| Mantine UI | Component library |
| Medplum React SDK | AppShell, FHIR data, auth |
| React Router | Client-side navigation |
| Chart.js | Bar charts in the Reports section |
| Tabler Icons | Icon set |
Where the code lives
packages/chartchat-admin/
src/
App.tsx ← root component, navbar menu, layout
AppRoutes.tsx ← all route definitions
config.ts ← environment configuration
admin/ ← project admin pages (users, bots, clients, etc.)
hospitals/ ← hospital integration management
sso/ ← SSO integration management
support/ ← support ticket management
reports/ ← analytics and reporting pages
lab/ ← lab assays and panels
audit/ ← audit log
resource/ ← generic FHIR resource browser pages
components/ ← shared UI components
How to run it locally
cd packages/chartchat-admin
npm install
npm run dev
Opens at http://localhost:3000 (or the next available port).
Make sure the server is running first at
http://localhost:8103.