How gmphto/feedback works
Lumera is a full-stack workspace for developers to define project scope and track projects. The main flow is sign-in, opening the project dashboard, creating or editing a project definition, and saving it through authenticated APIs to PostgreSQL; the editor also presents planning context and project sections. The README describes the product purpose, while excerpts substantiate key server calls and routing. Several client views and the project API are indexed but not sampled, so their internal interactions are omitted where unverified.
Main entry points: projects/routes.ts Project routes · AuthProvider.tsx Auth state and actions · module.ts Project operations · auth/routes.ts Auth routes
Components 22
Client experience
- App entry
client/src/main.tsx - Protected routing
client/src/app/AppRoutes.tsx
Authentication
- Auth state and actions
client/src/features/auth/state/AuthProvider.tsx - Session API client
client/src/features/auth/api/auth.ts - Auth routes
server/src/auth/routes.ts - Login service
server/src/auth/service.ts - OIDC adapter
server/src/auth/oidc.ts - Session repository
server/src/auth/repository.ts
Project planning
- Project entry
client/src/features/projects/ProjectIndex.tsx - Project dashboard
client/src/features/projects/dashboard/Dashboard.tsx - Project editor
client/src/features/projects/editor/Editor.tsx - Planning context pane
client/src/features/projects/editor/components/ContextPane/ContextPane.tsx - Project API client
client/src/features/projects/api/api.ts
Backend services
- HTTP API
server/src/app.ts - Project routes
server/src/projects/routes.ts - Project policy
server/src/projects/policy.ts - Definition validation
server/src/projects/creation.ts - Project operations
server/src/projects/module.ts
Persistence
- PostgreSQL access
server/src/db/database.ts
Other components
- Developer
- PostgreSQL
- OIDC identity provider
Connections 30
- Developer → App entry: uses
README.md - App entry → Protected routing: renders
client/src/main.tsx - Protected routing → Project entry: routes to
client/src/app/AppRoutes.tsx - Project entry → Project dashboard: renders
client/src/features/projects/ProjectIndex.tsx - Project entry → Project editor: renders
client/src/features/projects/ProjectIndex.tsx - App entry → Auth state and actions: provides
client/src/main.tsx - Auth state and actions → Session API client: queries session
client/src/features/auth/state/AuthProvider.tsx - Auth state and actions → Session API client: starts or ends session
client/src/features/auth/state/AuthProvider.tsx - Auth state and actions → Protected routing: gates routes
client/src/app/App.tsx - Project editor → Planning context pane: renders
client/src/features/projects/editor/components/ContextPane/ContextPane.tsx - Project editor → Project API client: saves project
- Project dashboard → Project API client: loads projects
- Session API client → HTTP API: requests session
- Project API client → HTTP API: requests projects
- HTTP API → Auth routes: registers
server/src/app.ts - HTTP API → Project routes: registers
server/src/app.ts - Auth routes → Login service: starts and completes login
server/src/auth/routes.ts - Login service → OIDC adapter: verifies identity
server/src/auth/service.ts - Login service → Session repository: stores login and session
server/src/auth/service.ts - OIDC adapter → OIDC identity provider: uses provider
- Auth routes → Session repository: checks or revokes session
server/src/auth/routes.ts - Project routes → Auth routes: requires session
server/src/projects/routes.ts - Project routes → Project policy: validates request
server/src/projects/routes.ts - Project routes → Definition validation: validates definition
server/src/projects/routes.ts - Project routes → Project operations: dispatches operations
server/src/projects/routes.ts - Project operations → Project policy: validates names
server/src/projects/module.ts - Project operations → Definition validation: validates input
server/src/projects/module.ts - Project operations → PostgreSQL access: reads and writes
server/src/projects/module.ts - Session repository → PostgreSQL access: reads and writes
server/src/auth/repository.ts - PostgreSQL access → PostgreSQL: queries
server/src/db/database.ts