How outspire-dev/movia-web works
Movia is a browser-based video challenge and creator community app. Users sign in, browse challenges and frames, record and edit a video, then submit it; submitted videos and local drafts appear in the personal library. The graph also preserves the documented server-side creator, frame, post, and discovery capabilities, plus account preferences and PWA support. Sampled code confirms the app’s session-based entry and capture orchestration; several server screens and API integrations were not excerpted, so their internal connections are intentionally limited.
Main entry points: useCaptureFlow.ts Capture flow · App.tsx App entry · ServerApp.tsx Server app · Login.tsx Sign-in
Components 25
App and account
- App entry
src/App.tsx - Sign-in
src/pages/Login.tsx - My page
src/pages/MyPage.tsx - Account settings
src/components/my/Settings.tsx
Community and discovery
- Server app
src/pages/server/ServerApp.tsx - Browse
src/pages/server/Browse.tsx - Challenge details
src/pages/server/Details.tsx - Creator studio
src/pages/server/Studio.tsx - Edit frames
src/pages/server/Edits.tsx - Video library
src/pages/LibraryPage.tsx - Personal videos
src/components/my/PersonalVideos.tsx
Video capture
- Capture flow
src/features/capture/hooks/useCaptureFlow.ts - Capture screens
src/features/capture/ui - Camera and recording
src/features/capture/hooks/useCameraStream.ts - Reference media
src/features/capture/hooks/useReferenceMedia.ts - Video export
src/features/capture/media/exportVideo.ts - Local drafts
src/storage/drafts.ts
Data and platform
- API client
src/services/apiClient/endpoints.ts - HTTP transport
src/services/http.ts - Catalog state
src/state/CatalogProvider.tsx - Catalog queries
src/hooks/useCatalogQueries.ts - Session storage
src/services/session.ts - PWA support
src/state/PwaProvider.tsx
Other components
- Viewer
- Movia API
Connections 28
- Viewer → App entry: opens
- App entry → Session storage: reads session
src/App.tsx - App entry → Sign-in: shows signed out
src/App.tsx - App entry → Server app: shows signed in
src/App.tsx - Sign-in → Session storage: sets session
src/pages/Login.tsx - App entry → PWA support: provides
src/App.tsx - My page → Personal videos: renders
src/pages/MyPage.tsx - My page → Account settings: renders
src/pages/MyPage.tsx - Server app → Browse
- Server app → Challenge details
- Server app → Creator studio
- Server app → Edit frames
- Viewer → Browse: browses
- Challenge details → Capture flow: starts capture
- Video library → Viewer: shows videos
- Personal videos → Catalog queries: loads submissions
src/components/my/PersonalVideos.tsx - Personal videos → Local drafts: loads drafts
- Capture flow → Camera and recording: uses camera
src/features/capture/hooks/useCaptureFlow.ts - Capture flow → Reference media: loads reference
src/features/capture/hooks/useCaptureFlow.ts - Capture flow → Video export: exports video
- Capture flow → Local drafts: saves draft
- Capture flow → Capture screens: provides capture state
- Capture flow → Catalog queries: invalidates submissions
src/features/capture/hooks/useCaptureFlow.ts - Catalog queries → Catalog state: reads resources
src/hooks/useCatalogQueries.ts - Catalog state → API client: creates resources
src/state/CatalogProvider.tsx - API client → HTTP transport: uses transport
src/services/apiClient/endpoints.ts - HTTP transport → Movia API: sends requests
- Sign-in → Movia API: authenticates