Quick Start
Get the full platform running with one command.
Prerequisitesโ
- Docker + Docker Compose v2
- An Epic client ID โ fhir.epic.com โ My Apps (non-production)
1. Clone and configureโ
git clone https://github.com/AKHester-Technologies/aj-smart-fhir-platform
cd aj-smart-fhir-platform
cp .env.example .env
Edit .env โ two values required:
DB_PASSWORD=your-database-password
EPIC_CLIENT_ID=your-epic-client-id
2. Start everythingโ
docker compose up
First startup takes 60โ90 seconds for HAPI FHIR to initialise.
3. Verifyโ
./scripts/verify.sh
Expected output:
โ HAPI metadata endpoint (200)
โ SMART discovery proxy (200)
โ Discovery has authorization_endpoint
โ Auth server health (200)
โ JWKS endpoint (200)
โ JWKS does not expose private key
All checks passed โ
4. Open the portalโ
http://localhost:9000/portal
Log in with the dev credentials (see DataInitializer), select a patient, click Launch.
What's runningโ
| Service | URL | Description |
|---|---|---|
| HAPI FHIR | http://localhost:8080/fhir | FHIR R4 data layer |
| Auth Server | http://localhost:9000 | SMART OAuth2 + portal |
| SMART Client | http://localhost:8081 | Clinical UI |
| PostgreSQL | localhost:5432 | Auth server database |