How teagamer/projectwithregestration works
Alex is a browser-based AI assistant centered on a calendar: users sign in, chat with the assistant, manage calendar events, and optionally use voice input or profile settings. The calendar page coordinates chat, event parsing and editing, reminders, and local-note migration; service modules make requests to a separate API. Login and registration, profile editing, and the dashboard provide adjacent account workflows. The source excerpts show key calls, but the README is empty and backend implementations are absent, so those services are represented as external. Some routes and UI capabilities are known only from the file tree or documented configuration.
Main entry points: Kalendar/page.tsx Calendar Workspace · Login/page.tsx Login & Register · Profile.tsx Profile Editor · chatService.ts Chat Service
Components 17
Account & Profile
- Login & Register
app/Login/page.tsx - Dashboard Settings
app/Dashboard/page.tsx - Profile Editor
app/components/Profile.tsx - Profile Config
app/constants/profileConfig.ts - Timezone Helpers
app/constants/countryTimezones.ts - Profile Modal Hook
app/hooks/useProfileModal.ts
Calendar Workflow
- Calendar Workspace
app/Kalendar/page.tsx - Calendar Sorting
app/Kalendar/calendarUtils.ts - Calendar Service
app/services/calendarService.ts
AI Assistant
- Chat Component
app/components/Chat.tsx - Chat Service
app/services/chatService.ts - Voice Chat Hook
app/hooks/useVoiceChat.ts
Session Security
- Demo Login Route
app/api/demo-login/route.ts - Demo Session Signing
app/lib/demoAuth.ts - Session Middleware
middleware.ts
Other components
- User
- Application API
Connections 23
- User → Login & Register: signs in
app/Login/page.tsx - Login & Register → Application API: requests auth
app/Login/page.tsx - User → Calendar Workspace: uses calendar
app/Kalendar/page.tsx - Calendar Workspace → Profile Editor: renders
app/Kalendar/page.tsx - Calendar Workspace → Profile Modal Hook: uses modal state
app/Kalendar/page.tsx - Calendar Workspace → Timezone Helpers: resolves timezone
app/Kalendar/page.tsx - Calendar Workspace → Calendar Sorting: sorts notes
app/Kalendar/page.tsx - Calendar Workspace → Calendar Service: manages events
app/Kalendar/page.tsx - Calendar Service → Application API: requests calendar
app/services/calendarService.ts - Calendar Workspace → Chat Service: sends messages
app/Kalendar/page.tsx - Chat Component → Chat Service: calls chat API
app/components/Chat.tsx - Chat Service → Application API: requests chat
app/services/chatService.ts - Calendar Workspace → Voice Chat Hook: uses voice controls
app/Kalendar/page.tsx - User → Dashboard Settings: opens settings
app/Dashboard/page.tsx - Dashboard Settings → Calendar Workspace: returns to calendar
app/Dashboard/page.tsx - Profile Editor → Application API: updates profile
app/components/Profile.tsx - Profile Editor → Timezone Helpers: normalizes timezone
app/components/Profile.tsx - Login & Register → Profile Config: uses user model
app/Login/page.tsx - Profile Editor → Profile Config: uses user model
app/components/Profile.tsx - Login & Register → Timezone Helpers: sets timezone
app/Login/page.tsx - Demo Login Route → Demo Session Signing: creates session
app/api/demo-login/route.ts - Demo Login Route → User: sets session cookie
app/api/demo-login/route.ts - Session Middleware → Demo Session Signing: verifies session
middleware.ts