How ungakadaidigital-ux/me-and-mech works
Me & Mech is a Tamil-first workshop-management platform: mechanics use an Android app to manage workshop records and billing, with a backend API supporting authentication, operational workflows, subscriptions, and engagement. The mobile app also supports offline data and synchronization. README-described capabilities include voice billing, WhatsApp notifications, push engagement, referrals, inventory, and reports. Several modules are represented from the README and tree rather than inspected source; edges are limited to documented or excerpted relationships.
Main entry points: app.ts HTTP API · voice Voice billing · client.ts API client · App.tsx Mobile application
Components 27
Mobile app
- Mobile application
apps/mobile/App.tsx - Authentication flows
apps/mobile/src/api/hooks/useAuth.ts - API client
apps/mobile/src/api/client.ts - Offline storage and sync
apps/mobile/src/offline - Workshop screens
apps/mobile/src/screens
API foundation
- HTTP API
apps/backend/src/app.ts - OTP and sessions
apps/backend/src/modules/auth - Workshop onboarding
apps/backend/src/modules/onboarding - Request access controls
apps/backend/src/middleware - Workshop repositories
apps/backend/src/db/repositories - Shared domain types
packages/shared/src/types
Workshop operations
- Customers and vehicles
apps/backend/src/modules/customer - Job cards
apps/backend/src/modules/job-card - Inventory
apps/backend/src/modules/inventory - Invoices and PDFs
apps/backend/src/modules/invoice - Reports and analytics
apps/backend/src/modules/reports
Billing and growth
- Subscriptions
apps/backend/src/modules/subscription - Referral rewards
apps/backend/src/modules/referral
Voice and engagement
- Voice billing
apps/backend/src/modules/voice - WhatsApp notifications
apps/backend/src/modules/notification - Push and scheduled engagement
apps/backend/src/modules/engagement
Other components
- Workshop mechanic
- QStash scheduler
- Razorpay
- Sarvam transcription
- GPT extraction
- Supabase storage
Connections 29
- Workshop mechanic → Mobile application: uses
README.md - Mobile application → Offline storage and sync: initializes
apps/mobile/App.tsx - Mobile application → Authentication flows: hosts flows
- Authentication flows → API client: requests
apps/mobile/src/api/hooks/useAuth.ts - Workshop screens → API client: fetches data
- API client → HTTP API: sends HTTP requests
apps/mobile/src/api/client.ts - HTTP API → Request access controls: applies controls
README.md - HTTP API → OTP and sessions: routes auth
- HTTP API → Workshop onboarding: routes registration
apps/backend/src/modules/onboarding/onboarding.routes.ts - Workshop onboarding → OTP and sessions: issues session
apps/backend/src/modules/onboarding/onboarding.routes.ts - HTTP API → Customers and vehicles: routes operations
- HTTP API → Job cards: routes job cards
- Job cards → Referral rewards: checks referral success
apps/backend/src/modules/job-card/job-card.controller.ts - HTTP API → Inventory: routes inventory
apps/backend/src/modules/inventory/inventory.routes.ts - HTTP API → Invoices and PDFs: routes invoicing
- HTTP API → Reports and analytics: routes reports
apps/backend/src/modules/reports/reports.routes.ts - HTTP API → Subscriptions: routes subscriptions
apps/backend/src/modules/subscription/subscription.routes.ts - Subscriptions → Razorpay: verifies webhooks
apps/backend/src/modules/subscription/subscription.routes.ts - HTTP API → Referral rewards: routes referrals
apps/backend/src/modules/referral/referral.routes.ts - QStash scheduler → Referral rewards: invokes worker
apps/backend/src/modules/referral/referral.routes.ts - QStash scheduler → Push and scheduled engagement: invokes triggers
apps/backend/src/modules/engagement/engagement.routes.ts - HTTP API → Voice billing: routes voice
apps/backend/src/modules/voice/voice.routes.ts - Voice billing → Sarvam transcription: transcribes audio
README.md - Voice billing → GPT extraction: extracts details
README.md - Voice billing → Supabase storage: stores audio
- HTTP API → WhatsApp notifications: routes webhooks
apps/backend/src/modules/notification/wati-webhook.routes.ts - HTTP API → Push and scheduled engagement: routes triggers
apps/backend/src/modules/engagement/engagement.routes.ts - API client → Shared domain types: uses response types
apps/mobile/src/api/client.ts - Workshop repositories → Supabase storage: persists records