Quick start¶
From clone to an eID sign-in on the full stack in about five minutes.
Requirements¶
| Tool | Version | Note |
|---|---|---|
| Go | 1.26+ | only if you run the backend directly |
| Node.js | 20+ | only if you run the frontend directly |
| Docker + Compose | recent | recommended — the whole stack in one command |
| PostgreSQL / Redis | 15+ / 7+ | not needed when using Docker |
1. Fastest path — Docker Compose¶
git clone https://github.com/gerege-systems/gerege-platform-mn.git
cd gerege-platform-mn
docker compose up -d --build
This brings up db · redis · migrate (one-off) · api · web.
Then open http://localhost:3000.
Migrations run automatically
The migrate service runs on every up and skips already-applied
migrations, so re-running it is safe (idempotent).
2. Running it by hand (development)¶
3. Signing in¶
Choose Sign in with eID on the landing page, then use any of three paths:
- QR code — scan the desktop QR with the eID mobile app.
- App2App — jump straight into the eID app on the same phone.
- National ID number — enter it and a push notification reaches the app.
Google linking only appears once its credentials are configured.
Trying it without eID credentials
Sign-in will not work while EID_* is unset. If you only want to inspect
the UI and architecture, the backend unit tests (go test ./...) drive the
flows through a FakeEID stub.
4. Verifying¶
cd backend && go test ./... # unit tests (mocks, fast)
cd frontend && npm run build # build + lint + typecheck (same as CI)
Mirror every CI gate locally:
Where to next¶
- Architecture — layers and dependency flow
- Authentication — eID + SSO flows
- App integration — make your app an RP
- Configuration — environment variable reference