How aruljyothi1302/devhub-web works
DevTinderUi is a React client for a matchmaking and social-connection product. Users authenticate, complete a profile, browse and respond to suggested profiles, then manage requests and connections or chat with a connection. The UI also exposes premium and privacy pages. The graph reflects the routes and interactions visible in excerpts and the SOURCE INDEX; backend behavior and unsampled component internals are not inspected, so uncertain feature-to-API links are dashed.
Main entry points: App.jsx Route application · api.js HTTP API client · appStore.js Redux store · Chat.jsx Chat
Components 27
App and access
- Route application
DevTinderUi/src/App.jsx - Auth initialization
DevTinderUi/src/Components/AuthInitializer.jsx - Login and signup
DevTinderUi/src/Components/Login.jsx - Protected routes
DevTinderUi/src/Components/ProtectedRoute.jsx - Public routes
DevTinderUi/src/Components/PublicRoute.jsx - Page shell
DevTinderUi/src/Components/Body.jsx - Navigation
DevTinderUi/src/Components/Navbar.jsx - Footer
DevTinderUi/src/Components/Footer.jsx
Profiles and discovery
- Profile feed
DevTinderUi/src/Components/Feed.jsx - Profile card
DevTinderUi/src/Components/UserCard.jsx - Profile editing
DevTinderUi/src/Components/ProfileEdit.jsx
Connections and chat
- Connections
DevTinderUi/src/Components/Connections.jsx - Connection requests
DevTinderUi/src/Components/Requests.jsx - Chat
DevTinderUi/src/Components/Chat.jsx - Socket client
DevTinderUi/src/utils/socket.js - Premium
DevTinderUi/src/Components/Premium.jsx - Premium plan card
DevTinderUi/src/Components/PremiumCard.jsx - Privacy page
DevTinderUi/src/Components/Privacy.jsx
Client state and API
- Redux store
DevTinderUi/src/utils/appStore.js - Auth state
DevTinderUi/src/utils/authSlice.js - User state
DevTinderUi/src/utils/userSlice.js - Feed state
DevTinderUi/src/utils/feedSlice.js - Connection state
DevTinderUi/src/utils/connectionsSlice.js - Request state
DevTinderUi/src/utils/requestSlice.js - HTTP API client
DevTinderUi/src/utils/api.js
Other components
- User
- Backend service
Connections 44
- User → Route application: uses app
DevTinderUi/src/App.jsx - Route application → Auth initialization: wraps routes
DevTinderUi/src/App.jsx - Route application → Public routes: routes login
DevTinderUi/src/App.jsx - Route application → Protected routes: guards pages
DevTinderUi/src/App.jsx - Route application → Profile feed: routes feed
DevTinderUi/src/App.jsx - Route application → Profile editing: routes profile
DevTinderUi/src/App.jsx - Route application → Connections: routes connections
DevTinderUi/src/App.jsx - Route application → Connection requests: routes requests
DevTinderUi/src/App.jsx - Route application → Chat: routes chat
DevTinderUi/src/App.jsx - Route application → Premium: routes premium
DevTinderUi/src/App.jsx - Route application → Privacy page: routes privacy
DevTinderUi/src/App.jsx - Auth initialization → HTTP API client: loads profile
DevTinderUi/src/Components/AuthInitializer.jsx - Auth initialization → User state: sets user
DevTinderUi/src/Components/AuthInitializer.jsx - Auth initialization → Auth state: sets auth
DevTinderUi/src/Components/AuthInitializer.jsx - Login and signup → HTTP API client: submits credentials
DevTinderUi/src/Components/Login.jsx - Login and signup → User state: stores user
DevTinderUi/src/Components/Login.jsx - Login and signup → Auth state: sets auth
DevTinderUi/src/Components/Login.jsx - Protected routes → Page shell: renders shell
DevTinderUi/src/Components/ProtectedRoute.jsx - Page shell → Navigation: renders
DevTinderUi/src/Components/Body.jsx - Page shell → Footer: renders
DevTinderUi/src/Components/Body.jsx - Profile feed → Profile card: renders cards
DevTinderUi/src/Components/Feed.jsx - Profile feed → HTTP API client: loads suggestions
DevTinderUi/src/Components/Feed.jsx - Profile feed → Feed state: updates feed
DevTinderUi/src/Components/Feed.jsx - Profile card → HTTP API client: sends response
DevTinderUi/src/Components/UserCard.jsx - Profile card → Feed state: removes profile
DevTinderUi/src/Components/UserCard.jsx - Profile editing → HTTP API client: saves profile
DevTinderUi/src/Components/ProfileEdit.jsx - Profile editing → User state: updates user
DevTinderUi/src/Components/ProfileEdit.jsx - Profile editing → Profile card: previews profile
DevTinderUi/src/Components/ProfileEdit.jsx - Connections → HTTP API client: loads connections
DevTinderUi/src/Components/Connections.jsx - Connections → Connection state: uses state
DevTinderUi/src/Components/Connections.jsx - Connection requests → HTTP API client: handles requests
DevTinderUi/src/Components/Requests.jsx - Connection requests → Request state: uses state
DevTinderUi/src/Components/Requests.jsx - Chat → HTTP API client: loads history
DevTinderUi/src/Components/Chat.jsx - Chat → Socket client: exchanges events
DevTinderUi/src/Components/Chat.jsx - Chat → Backend service: loads chat history
- HTTP API client → Backend service: sends HTTP requests
DevTinderUi/src/utils/api.js - Chat → Backend service: sends chat events
- Premium → Premium plan card: renders plan
DevTinderUi/src/Components/Premium.jsx - Premium → HTTP API client: checks premium
DevTinderUi/src/Components/Premium.jsx - Redux store → User state: registers reducer
DevTinderUi/src/utils/appStore.js - Redux store → Feed state: registers reducer
DevTinderUi/src/utils/appStore.js - Redux store → Connection state: registers reducer
DevTinderUi/src/utils/appStore.js - Redux store → Request state: registers reducer
DevTinderUi/src/utils/appStore.js - Redux store → Auth state: registers reducer
DevTinderUi/src/utils/appStore.js