How anxhul77/gehuconnect works
GEHUConnect is an Expo/React Native campus app. Users authenticate, then navigate social feeds and communities, channel chat, marketplace listings and conversations, academic resources, and profile/ERP features. Screens call feature APIs backed by a shared Redux Toolkit query layer; uploads can pass through presigned storage. The README describes only the Expo starter and file-based routing, not product capabilities. Edges reflect sampled calls and SOURCE INDEX references; unsampled routes and integrations are represented without speculative wiring.
Main entry points: api.ts API transport · auth.api.ts Authentication API · index.tsx Home and search · AcadmicMediaUplaodService.ts Material upload flow
Components 24
Identity and profile
- Sign in and register
app/(auth)/registerform.tsx - Authentication API
src/features/auth.api.ts - Profile and ERP
app/(profile)/profile.tsx
Communities and feeds
- Home and search
app/(drawer)/(tabs)/home/search/index.tsx - Community posts
app/components/CommunityPosts/Feedpostcard.tsx - Feed API
src/features/feed.api.ts - Community spaces
app/(drawer)/(tabs)/communities/communities.tsx - Community API
src/features/community/community.api.ts
Messaging
- Channel screen
app/channels/[channelId].tsx - Message views
app/components/messages/MessageList.tsx - Chat API
src/features/chat/chat.api.ts - Chat socket
src/features/chat/chat.socket.ts
Campus marketplace
- Marketplace browsing
app/(drawer)/(tabs)/marketplace.tsx - Marketplace API
src/features/marketplace.api.ts - Marketplace chat
app/components/marketplace/ChatPage.tsx - Marketplace chat API
src/features/chat/marketplace-chat.api.ts
Academic resources
- Academic resources
app/(drawer)/(tabs)/acadmecis.tsx - Material upload flow
src/utils/AcadmicMediaUplaodService.ts - Academics API
src/features/acadmecis.api.ts
Shared app services
- Auth state
src/store/slices/auth.slice.ts - API transport
src/store/api.ts - Secure token storage
src/lib/storage.ts - File storage upload
src/utils/UploadToR2.ts
Other components
- Student
Connections 23
- Student → Sign in and register: starts with
- Sign in and register → Authentication API: authenticates via
- Authentication API → API transport: uses
src/features/auth.api.ts - Authentication API → Auth state: updates
src/features/auth.api.ts - Authentication API → Secure token storage: stores tokens
src/features/auth.api.ts - Profile and ERP → Auth state: reads
app/(profile)/profile.tsx - Profile and ERP → API transport: requests ERP data
app/(profile)/profile.tsx - Home and search → Feed API: queries
app/(drawer)/(tabs)/home/search/index.tsx - Home and search → Community API: queries
app/(drawer)/(tabs)/home/search/index.tsx - Home and search → Marketplace API: queries
app/(drawer)/(tabs)/home/search/index.tsx - Community posts → Feed API: calls
app/components/CommunityPosts/Feedpostcard.tsx - Community API → API transport: extends
src/features/community/community.api.ts - Channel screen → Chat API: loads and sends
app/channels/[channelId].tsx - Channel screen → Message views: renders
app/channels/[channelId].tsx - Chat API → API transport: uses
src/features/chat/chat.api.ts - Marketplace browsing → Marketplace API: queries
- Marketplace chat → Chat socket: uses
app/components/marketplace/ChatPage.tsx - Marketplace chat → Marketplace chat API: calls
app/components/marketplace/ChatPage.tsx - Academic resources → Academics API: queries
app/(drawer)/(tabs)/acadmecis.tsx - Academic resources → Material upload flow: opens
app/(drawer)/(tabs)/acadmecis.tsx - Material upload flow → File storage upload: uploads file
src/utils/AcadmicMediaUplaodService.ts - Material upload flow → Academics API: submits material
src/utils/AcadmicMediaUplaodService.ts - Academics API → API transport: extends
src/features/acadmecis.api.ts