How dilipios12/apna_music_applictions works
Loop Music is a React Native music app backed by an Express API. The principal path is login or registration, then tab navigation to music discovery and playback; library, favorites, profile, and playlist management are additional capabilities. The app fetches playlist data and audio from the API, while authentication and catalog operations are routed to backend controllers and MongoDB models. The graph uses evidenced calls and explicit route wiring; several screens and backend controllers are indexed but not excerpted, so their internal relationships are omitted where unverified.
Main entry points: authRoutes.js API routes · AppNavigation.jsx Screen navigation · Navigations.jsx Main tabs · server.js Express API
Components 30
Mobile app
- App root
App.tsx - Screen navigation
componet/navigation/AppNavigation.jsx - Login screen
componet/Pages/WelcomePages/LoginPages.jsx - Registration screen
componet/Pages/RegisterPages/RegisterPages.jsx - Phone verification
componet/Pages/MobileNumberScreen/MobileNumberScreen.jsx - OTP verification
componet/Pages/Verification Screen/VerificationScreen.jsx - Main tabs
componet/navigation/Navigations.jsx - Home discovery
componet/Pages/Home/Home.jsx - Search and playback
componet/Pages/SearchScreen/SearchScreen.jsx - Library
componet/Pages/LibraryScreen/LibraryScreen.jsx - Profile
componet/Pages/ProfileScreen/ProfileScreen.jsx
API and services
- Express API
BackendApi/server.js - API routes
BackendApi/Router/authRoutes.js - Account and OTP
BackendApi/Controllers/authController.js - Playlist operations
BackendApi/Controllers/palylist.js - Playlist accounts
BackendApi/Controllers/playlistRegister.js - Odds-drive registration
BackendApi/Controllers/RegisterOddsdrive.js - Favorite operations
BackendApi/Controllers/favoriteController.js - Media uploads
BackendApi/multer/fileUpload.js - Socket service
BackendApi/socket.js - Email transport
BackendApi/utils/mailer.js
Persistent data
- MongoDB
BackendApi/Config/database_connect.js - User records
BackendApi/Models/User.js - Favorite records
BackendApi/Models/Favorite.js - Playlist records
BackendApi/Models/palylist.js - Playlist types
BackendApi/Models/palylisttype.js - Playlist accounts
BackendApi/Models/playlistRegister.js - Odds-drive records
BackendApi/Models/RegisterSchmaOdds.js
Other components
- Listener
- Audio and images
Connections 35
- Listener → App root: opens
App.tsx - App root → Screen navigation: renders
App.tsx - Screen navigation → Login screen: routes
componet/navigation/AppNavigation.jsx - Screen navigation → Registration screen: routes
componet/navigation/AppNavigation.jsx - Screen navigation → Phone verification: routes
componet/navigation/AppNavigation.jsx - Screen navigation → OTP verification: routes
componet/navigation/AppNavigation.jsx - Screen navigation → Main tabs: routes
componet/navigation/AppNavigation.jsx - Login screen → Main tabs: navigates
componet/Pages/WelcomePages/LoginPages.jsx - Main tabs → Home discovery: hosts
componet/navigation/Navigations.jsx - Main tabs → Search and playback: hosts
componet/navigation/Navigations.jsx - Main tabs → Library: hosts
componet/navigation/Navigations.jsx - Main tabs → Profile: hosts
componet/navigation/Navigations.jsx - Login screen → Express API: submits login
componet/Pages/WelcomePages/LoginPages.jsx - Search and playback → Express API: requests songs
componet/Pages/SearchScreen/SearchScreen.jsx - Search and playback → Audio and images: streams audio
componet/Pages/SearchScreen/SearchScreen.jsx - Search and playback → Audio and images: loads artwork
componet/Pages/SearchScreen/SearchScreen.jsx - Express API → MongoDB: connects
BackendApi/server.js - Express API → API routes: mounts routes
BackendApi/server.js - API routes → Account and OTP: dispatches
BackendApi/Router/authRoutes.js - API routes → Playlist operations: dispatches
BackendApi/Router/authRoutes.js - API routes → Playlist accounts: dispatches
BackendApi/Router/authRoutes.js - API routes → Odds-drive registration: dispatches
BackendApi/Router/authRoutes.js - API routes → Favorite operations: dispatches
BackendApi/Router/authRoutes.js - API routes → Media uploads: uses upload
BackendApi/Router/authRoutes.js - Account and OTP → User records: reads and writes
BackendApi/Controllers/authController.js - Account and OTP → Email transport: sends email
BackendApi/Controllers/authController.js - Favorite operations → Favorite records: reads and writes
BackendApi/Controllers/favoriteController.js - Playlist operations → Playlist records: reads and writes
BackendApi/Controllers/palylist.js - Playlist operations → Playlist types: uses
BackendApi/Controllers/palylist.js - Playlist operations → Socket service: emits events
BackendApi/Controllers/palylist.js - Playlist accounts → Playlist accounts: reads and writes
BackendApi/Controllers/playlistRegister.js - Playlist accounts → Email transport: sends email
BackendApi/Controllers/playlistRegister.js - Odds-drive registration → Odds-drive records: reads and writes
BackendApi/Controllers/RegisterOddsdrive.js - Express API → Socket service: initializes
BackendApi/server.js - Express API → Audio and images: serves uploads
BackendApi/server.js