view profile
- JavaScript 74.6%
- HTML 23.9%
- Dockerfile 1.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .w3ds | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
profile-viewer-simplified
view profile
Sign in with the W3DS eID wallet (w3ds://auth) and see your profile, read directly from your eVault.
Run
npm ci
npm start
Or with Docker:
docker build -t app .
docker run -e PORT=3000 -p 3000:3000 app
Health check: GET /healthz returns {"ok":true}.
Environment variables
| Variable | Required | Purpose |
|---|---|---|
PORT |
no (default 3000) |
Port the server listens on (always on 0.0.0.0). Set by GitW3. |
GITW3_URL |
set by GitW3 | Public https URL. The eID wallet posts the signed login to <url>/api/auth, so it must be reachable from the phone. |
PUBLIC_BASE_URL |
no | Overrides GITW3_URL (e.g. a tunnel URL when running locally). |
PUBLIC_REGISTRY_URL |
no (default https://registry.w3ds.metastate.foundation) |
W3DS Registry. |
PLATFORM_NAME |
no (default profile-viewer-simplified) |
Platform name shown in the wallet and used for the eVault platform token. |
No secrets are needed. Login offers and sessions are kept in memory, so a restart or redeploy signs everyone out; no user data is stored by the app.