Clinical trial visit capture app built on openEHR / EHRbase.
1. Start EHRbase (backend)
From the Module2_TrialCapture directory:
docker compose up -dWait ~20 seconds for EHRbase to initialise, then verify:
http://localhost:8080/ehrbase/rest/status
2. Start the frontend
cd frontend
npm install # first time only
npm run devOpen: http://localhost:5173
docker compose downData is persisted in the ehrbase_data Docker volume. To wipe everything:
docker compose down -v- If Module 1 is running, stop it first — both use ports 8080 and 5432.
- The Vite dev server proxies
/ehrbase/*tohttp://localhost:8080automatically. - EHRbase Swagger UI:
http://localhost:8080/ehrbase/swagger-ui/index.html