How itssaksham00/herenow works
HereNow is a mobile app for finding and publishing nearby, time-bounded activities. The main workflow runs from sign-in and area selection through a filtered feed or map, then activity details and participation; a separate create flow supports photo suggestions and publishing. The API handles authenticated domain operations backed by Supabase, with SQL providing nearby filtering and atomic interest behavior. The graph combines sampled module references with README-documented capabilities; unsampled subsystem links are omitted or marked unverified.
Main entry points: App.tsx Navigation and session · api.ts Authenticated API client · supabase.service.ts Server data client · posts.service.ts Posts and AI
Components 26
Mobile experience
- Navigation and session
apps/mobile/App.tsx - Sign in
apps/mobile/src/screens/AuthScreen.tsx - Choose area
apps/mobile/src/screens/LocationScreen.tsx - Place search
apps/mobile/src/components/LocationSearch.tsx - Nearby feed
apps/mobile/src/screens/FeedScreen.tsx - Activity map
apps/mobile/src/screens/MapScreen.tsx - Create activity
apps/mobile/src/screens/CreatePostScreen.tsx - Activity details
apps/mobile/src/screens/PostDetailScreen.tsx - Activity inbox
apps/mobile/src/screens/ActivityScreen.tsx - Profile management
apps/mobile/src/screens/ProfileScreen.tsx - Authenticated API client
apps/mobile/src/lib/api.ts - Supabase client
apps/mobile/src/lib/supabase.ts
API domain
- REST API
apps/api/src/main.ts - Token verification
apps/api/src/auth/auth.guard.ts - Posts and AI
apps/api/src/posts/posts.service.ts - User profiles
apps/api/src/users/users.controller.ts - Comments
apps/api/src/comments/comments.controller.ts - Interest action
apps/api/src/interests/interests.controller.ts - Notifications
apps/api/src/notifications/notifications.controller.ts
Backend services
- Server data client
apps/api/src/common/supabase.service.ts - Request validation
apps/api/src/common/dtos.ts
Supabase data
- Supabase Auth
- PostgreSQL and storage
supabase/001_init.sql - Activity feed rules
supabase/002_activity_posting.sql
Other components
- App user
- OpenAI vision
Connections 34
- App user → Navigation and session: uses
README.md - Navigation and session → Supabase client: checks session
apps/mobile/App.tsx - Navigation and session → Sign in: shows signed out
apps/mobile/App.tsx - Navigation and session → Choose area: selects area
apps/mobile/App.tsx - Navigation and session → Nearby feed: opens feed
apps/mobile/App.tsx - Navigation and session → Activity map: opens map
apps/mobile/App.tsx - Navigation and session → Activity details: opens activity
apps/mobile/App.tsx - Navigation and session → Create activity: opens composer
apps/mobile/App.tsx - Navigation and session → Activity inbox: opens inbox
apps/mobile/App.tsx - Navigation and session → Profile management: opens profile
apps/mobile/App.tsx - Choose area → Place search: offers search
apps/mobile/src/components/LocationSearch.tsx - Nearby feed → Authenticated API client: requests feed
README.md - Activity map → Authenticated API client: requests markers
README.md - Create activity → Authenticated API client: publishes activity
README.md - Activity details → Authenticated API client: loads and participates
README.md - Activity inbox → Authenticated API client: loads inbox
README.md - Profile management → Authenticated API client: updates profile
README.md - Authenticated API client → Supabase client: gets access token
apps/mobile/src/lib/api.ts - Authenticated API client → REST API: sends REST requests
README.md - REST API → Token verification: guards routes
- REST API → Posts and AI: routes post actions
- Posts and AI → Server data client: reads and writes
apps/api/src/posts/posts.service.ts - Posts and AI → Request validation: uses validated inputs
apps/api/src/posts/posts.service.ts - User profiles → Server data client: reads and writes
apps/api/src/users/users.controller.ts - Comments → Server data client: reads and writes
apps/api/src/comments/comments.controller.ts - Comments → Request validation: validates comments
apps/api/src/comments/comments.controller.ts - Interest action → Server data client: records interest
apps/api/src/interests/interests.controller.ts - Notifications → Server data client: reads and updates
apps/api/src/notifications/notifications.controller.ts - Token verification → Server data client: verifies token
apps/api/src/auth/auth.guard.ts - Server data client → Supabase Auth: verifies identity
- Server data client → PostgreSQL and storage: queries and stores
README.md - PostgreSQL and storage → Activity feed rules: extends feed behavior
README.md - Posts and AI → OpenAI vision: requests suggestions
README.md - PostgreSQL and storage → OpenAI vision: stores photos privately