How asrarkhantscltd-del/check-in-app works
Check-In App is a private wellbeing service for web and Capacitor-based iOS/Android clients. The main user journey is to authenticate, submit a three-state check-in, and share it only with explicitly connected people; the service also supports communities, family plans, reminders and alerts, helplines, privacy controls, and administration. The graph follows the documented client/API/database layers and preserves major domain branches. Some route and scheduler internals were not sampled, so uncertain links are dashed rather than presented as verified calls.
Main entry points: storage/index.ts Storage access · routes/index.ts Route registry · billing.ts Plans and billing · App.tsx App router
Components 23
Client experience
- App router
client/src/App.tsx - Auth context
client/src/lib/auth-context.tsx - Check-in screen
client/src/pages/check-in.tsx - API client
client/src/lib/queryClient.ts - Capacitor bridge
client/src/lib/capacitor.ts
API and domain
- HTTP server
server/index.ts - Route registry
server/routes/index.ts - Auth routes
server/routes/auth.ts - Check-in routes
server/routes/checkins.ts - Connections and communities
server/routes - Family management
server/routes/family.ts - Admin and organisations
server/routes/admin - Alerts and reminders
server/notifications.ts - Background scheduler
server/scheduler.ts - Plans and billing
server/routes/billing.ts
Persistence
- Storage access
server/storage/index.ts - Legacy data methods
server/storage-legacy.ts - PostgreSQL
- Shared schema
shared/schema.ts
External services
- SMS Works
- RevenueCat
- Stripe
Other components
- User
Connections 29
- User → App router: uses
README.md - App router → Auth context: provides auth
client/src/App.tsx - App router → Check-in screen: routes to
- Check-in screen → API client: requests data
- Auth context → API client: uses
client/src/lib/auth-context.tsx - Capacitor bridge → App router: wraps bundle
README.md - API client → HTTP server: sends REST requests
README.md - HTTP server → Route registry: registers routes
server/index.ts - Route registry → Auth routes: mounts
server/routes/index.ts - Route registry → Check-in routes: mounts
server/routes/index.ts - Route registry → Connections and communities: mounts
server/routes/index.ts - Route registry → Family management: mounts
server/routes/index.ts - Route registry → Admin and organisations: mounts
server/routes/index.ts - Route registry → Plans and billing: mounts
server/routes/index.ts - Auth routes → SMS Works: sends verification
server/routes/auth.ts - Auth routes → Storage access: reads and writes
server/routes/auth.ts - Plans and billing → RevenueCat: handles purchases
server/routes/billing.ts - Plans and billing → Stripe: handles legacy billing
server/routes/billing.ts - Plans and billing → Storage access: reads and writes
server/routes/billing.ts - Check-in routes → Storage access: uses data access
- Connections and communities → Storage access: uses data access
server/routes/auth.ts - Family management → Storage access: uses data access
- Admin and organisations → Storage access: uses data access
server/routes/admin/core.ts - Background scheduler → Alerts and reminders: runs notifications
- HTTP server → Background scheduler: starts
server/index.ts - Storage access → Legacy data methods: composes methods
server/storage/index.ts - Legacy data methods → PostgreSQL: queries
README.md - Storage access → PostgreSQL: queries
README.md - PostgreSQL → Shared schema: uses tables