How omnivyse/chatli works
Chatli is a social networking and messaging product with web and React Native clients backed by an Express service. The user journey starts at login or registration, then branches into a social feed, profiles, chat, events/clips, and notifications; the clients communicate with the server for account and product data. The server exposes domain routes and persists records in MongoDB, with push delivery as an external integration. Some connections are documented only by the source index or app entry excerpts; unverified client-to-server links are dashed.
Main entry points: server.js HTTP and socket server · services/api.js Mobile API client · services/api.js Web API client · App.js Mobile app
Components 29
Client apps
- Mobile app
mobile-app/App.js - Web app
src/App.js - Mobile sign-in
mobile-app/src/screens/LoginScreen.js - Web sign-in
src/components/Login.js - Mobile API client
mobile-app/src/services/api.js - Web API client
src/services/api.js
Social features
- Mobile feed
mobile-app/src/screens/PostFeedScreen.js - Post creation
mobile-app/src/screens/CreatePostScreen.js - Profiles and search
mobile-app/src/screens/UserProfileScreen.js - Web feed
src/components/PostFeed.js - Web profiles
src/components/UserProfileModal.js - Events and clips
mobile-app/src/screens/ClipsScreen.js
Messaging
- Mobile chat
mobile-app/src/screens/ChatScreen.js - Web chat
src/components/ChatWindow.js
Server domains
- HTTP and socket server
server/server.js - Account routes
server/routes/auth.js - Post routes
server/routes/posts.js - Chat routes
server/routes/chats.js - Event routes
server/routes/events.js - Notification routes
server/routes/notifications.js - Admin and analytics
server/routes/admin.js
Platform services
- User records
server/models/User.js - Post records
server/models/Post.js - Chat records
server/models/Chat.js - Notification records
server/models/Notification.js - Mobile push handling
mobile-app/src/services/pushNotificationService.js - Push delivery
server/services/pushNotificationService.js
Other components
- User
- Expo push service
Connections 34
- User → Mobile app: uses
mobile-app/App.js - User → Web app: uses
src/App.js - Mobile app → Mobile sign-in: routes to
mobile-app/App.js - Mobile app → Mobile chat: renders
mobile-app/App.js - Web app → Web sign-in: renders
src/App.js - Web app → Web feed: renders
src/App.js - Web app → Web chat: renders
src/App.js - Mobile sign-in → Mobile API client: requests
- Web sign-in → Web API client: requests
- Mobile feed → Mobile API client: requests
- Post creation → Mobile API client: requests
- Profiles and search → Mobile API client: requests
- Web feed → Web API client: requests
- Web profiles → Web API client: requests
src/components/UserSearchModal.js - Mobile chat → Mobile API client: requests
- Web chat → Web API client: requests
- Events and clips → Mobile API client: requests
- Mobile API client → HTTP and socket server: calls API
- Web API client → HTTP and socket server: calls API
src/services/api.js - HTTP and socket server → Account routes: mounts
server/server.js - HTTP and socket server → Post routes: mounts
server/server.js - HTTP and socket server → Chat routes: mounts
server/server.js - HTTP and socket server → Event routes: mounts
server/server.js - HTTP and socket server → Notification routes: mounts
server/server.js - HTTP and socket server → Admin and analytics: mounts
server/server.js - Account routes → User records: reads and writes
server/routes/auth.js - Post routes → Post records: reads and writes
server/routes/posts.js - Post routes → User records: reads
server/routes/posts.js - Chat routes → Chat records: uses
- Notification routes → Notification records: uses
- Mobile app → Mobile push handling: initializes
mobile-app/App.js - Mobile push handling → Mobile API client: updates token
mobile-app/src/services/pushNotificationService.js - Push delivery → Expo push service: sends
server/services/pushNotificationService.js - Account routes → Push delivery: notifies
server/routes/auth.js