How glebweider/animax works
Animax is a React Native anime discovery, tracking, and streaming app, with account, community, premium, and settings features. The principal user journey is to browse or search anime, open a title, and watch episodes; other screens support lists, comments, recommendations, and account management. The sampled entry point shows navigation, Redux, alerts, and Shikimori GraphQL setup. The README documents separate anime, episode/player, and main API services. Many screen-to-API calls were not shown, so those links are marked unverified rather than presented as confirmed calls.
Main entry points: App.tsx App entry · api.ts Main REST API · graphql Anime GraphQL · HomeScreen.tsx Home discovery
Components 23
App shell
- App entry
App.tsx - Screen navigation
src/screens/Stack/StackNavigator.tsx - App state
src/redux/store.ts - Alert context
src/components/alert/AlertContext.tsx
Anime discovery
- Home discovery
src/screens/Tab/HomeScreen.tsx - Anime search
src/screens/Stack/AnimeSearchScreen.tsx - Anime details
src/screens/Stack/AnimeScreen.tsx - New releases
src/screens/Tab/ReleaseScreen.tsx - Top hits
src/screens/Stack/TopHitsAnimeScreen.tsx - Recommendations
src/screens/Stack/RecomendationsAnimeScreen.tsx - Episode playback
src/utils/api/rest/anime/getAnimeEpisodes.ts - Anime list
src/screens/Tab/MyListScreen.tsx
Account and community
- Sign-in and setup
src/screens/Stack/Auth/AuthSignInScreen.tsx - User profile
src/screens/Tab/ProfileScreen.tsx - Anime comments
src/screens/Stack/CommentsScreen.tsx - Premium plans
src/screens/Stack/Premium/PaymentScreen.tsx - Settings and support
src/screens/Stack/Settings/SettingsScreen.tsx
Data and integrations
- Anime GraphQL
src/utils/api/graphql - Main REST API
src/utils/api/rest/api.ts - Anime catalog service
- Episode and player service
- Local preferences
src/utils/functions/storage.ts
Other components
- App user
Connections 29
- App user → App entry: opens
- App entry → Screen navigation: renders
App.tsx - App entry → App state: provides state
App.tsx - App entry → Alert context: provides alerts
App.tsx - App entry → Anime GraphQL: configures client
App.tsx - App entry → Local preferences: reads NSFW setting
App.tsx - App user → Home discovery: browses
- App user → Anime search: searches
- App user → Anime details: opens title
- Anime details → Episode playback: gets episodes
- Home discovery → Anime GraphQL: loads anime
- Anime search → Anime GraphQL: searches catalog
- New releases → Main REST API: loads releases
- Top hits → Anime GraphQL: loads rankings
- Recommendations → Anime GraphQL: loads suggestions
- App user → Anime list: tracks titles
- Anime list → Main REST API: updates list
- App user → Sign-in and setup: authenticates
- Sign-in and setup → Main REST API: uses account API
- App user → User profile: views profile
- User profile → Main REST API: loads profile
- App user → Anime comments: joins discussion
- Anime comments → Main REST API: uses comments API
- App user → Premium plans: chooses plan
- Premium plans → Main REST API: uses premium API
- App user → Settings and support: manages account
- Settings and support → Main REST API: updates settings
- Anime GraphQL → Anime catalog service: queries catalog
- Episode playback → Episode and player service: requests episodes