How kweku627/disneyclone works
DisneyClone is a partially duplicated streaming-app prototype: React Native screens cover browsing, search, playback, downloads, profiles, and account flows, while a Spring backend exposes basic user registration and login. The principal documented-in-code path is app navigation into screens; the sampled backend path is HTTP user request to controller, service, repository, and persisted user. A second Expo frontend contains token-based authentication and movie services. The README provides no capability detail, and sampled sources do not establish that either frontend connects to the Java backend or that movie data is served remotely.
Main entry points: App.tsx App composition · app.tsx Auth navigation · UserController.java User endpoints · UserService.java User operations
Components 29
Streaming experience
- App composition
App.tsx - Movie browsing
index.tsx - Series browsing
seriesScreen.tsx - Search titles
search_screen.tsx - Watch titles
watch.tsx - Trailer playback
trailer.tsx - Downloads
downloadscreen.tsx - Profile management
Profile.tsx - Subscriptions
subscription_screen.tsx - Settings
settings.tsx - Login
login.tsx - Signup
signup_screen.tsx
Expo frontend
- Auth navigation
front-end/app/app.tsx - Session state
front-end/app/auth/AuthContext.tsx - Home screen
front-end/app/screens/Home.tsx - Login screen
front-end/app/screens/Login.tsx - Signup screen
front-end/app/screens/Signup.tsx - Profile screen
front-end/app/screens/Profile.tsx - Token auth state
FRONTEND/context/AuthContext.tsx - Auth service
FRONTEND/lib/services/auth.ts - Movie service
FRONTEND/lib/services/movies.ts - API client
FRONTEND/lib/api.ts
User backend
- User endpoints
UserController.java - User operations
UserService.java - User repository
UserRepository.java - User record
User.java - Login request
LoginRequest.java
Other components
- Viewer
- API client
Connections 24
- Viewer → App composition: opens
- App composition → Movie browsing: renders
App.tsx - App composition → Search titles: renders
App.tsx - App composition → Downloads: renders
App.tsx - App composition → Watch titles: renders
App.tsx - App composition → Profile management: renders
App.tsx - App composition → Login: renders
App.tsx - Viewer → Auth navigation: opens
- Auth navigation → Session state: provides
front-end/app/app.tsx - Auth navigation → Home screen: routes to
front-end/app/app.tsx - Auth navigation → Profile screen: routes to
front-end/app/app.tsx - Auth navigation → Login screen: routes to
front-end/app/app.tsx - Auth navigation → Signup screen: routes to
front-end/app/app.tsx - Login screen → Session state: uses
front-end/app/screens/Login.tsx - Signup screen → Session state: uses
front-end/app/screens/Signup.tsx - Token auth state → Auth service: calls
FRONTEND/context/AuthContext.tsx - Auth service → API client: sends requests
FRONTEND/lib/services/auth.ts - Movie service → API client: sends requests
FRONTEND/lib/services/movies.ts - API client → User endpoints: requests
- User endpoints → User operations: delegates to
UserController.java - User endpoints → Login request: accepts
UserController.java - User operations → User repository: queries and saves
UserService.java - User operations → User record: creates
UserService.java - User repository → User record: stores
UserRepository.java