profile-ui is a Next.js frontend for Evenfire user profile access and invitation confirmation.
- Password login through
external-rest-api /api/v1/auth/password-login - Authenticated profile home with the signed-in user and email
- Authenticated settings surface at
/settings(redirects to/settings/profile) for editing your profile, changing your password, and managing social channels (/settings/social,/settings/social/[network]) - Authenticated member invitation route at
/members/invite, which posts toexternal-rest-api /api/v1/members/invite - Invitation confirmation route at
/invitations/[token] - Desktop app authorization route at
/desktop-setup
See .env.example.
Important variables:
NEXT_PUBLIC_EXTERNAL_REST_API_BASE_URLEXTERNAL_REST_API_INTERNAL_URL(server-side proxy target)
cd profile-ui
npm install
EXTERNAL_REST_API_INTERNAL_URL=http://localhost:8091 npm run dev -- --port 3001Invitation flow:
- an invite is created either by
control-uiincontrol-api, or by an authenticatedprofile-uiuser through/members/invite control-ui(or an authenticatedprofile-uiuser via/members/invite) asksexternal-rest-apito create the invitation, which it does throughcontrol-apiprofile-uiloads/invitations/[token]without requiring profile login- the invited user accepts the invitation through the unauthenticated invitation route
- after confirmation,
profile-uilets the invited user set their password before downloading Evenfire - password setup sends the invitation token, email, invitation id, and password to
external-rest-api; the temporary invitation session stays server-side
profile-ui ships as part of the platform Kustomize bases — its manifest is
deploy/base/profiles/profile-ui.yaml, applied from the repo root via the
overlays (make minikube-deploy-all). There is no per-service make deploy.