How barikalla98/wassali-app works
Wassali is a Mauritanian food-and-goods delivery platform spanning customer, driver, merchant, and administration experiences, with a NestJS backend as the source of truth. The main journey is customer sign-in and address selection, merchant discovery and order placement, driver assignment and delivery tracking, then local-wallet payment and financial settlement. The README documents these capabilities and the major backend domains; most client and domain implementation files were not sampled, so client-to-backend links are shown as unverified rather than asserting detailed call paths.
Main entry points: http-app.ts Backend API · customer_app Customer app · driver_app Driver app · merchant_app Merchant app
Components 26
User applications
- Customer app
apps/customer_app - Driver app
apps/driver_app - Merchant app
apps/merchant_app - Admin dashboard
apps/admin-web/src/app/(app)/page.tsx - Public website
apps/landing-web/src/components/page.tsx - Wallet SMS gateway
apps/gateway_android/app/src/main/kotlin/mr/wassali/gateway/ForwardWorker.kt
Commerce and delivery
- Cities and addresses
apps/api/src/modules/geo - Stores and menus
apps/api/src/modules/catalog - Order lifecycle
apps/api/src/modules/ordering - Driver dispatch
apps/api/src/modules/dispatch - Driver onboarding
apps/api/src/modules/drivers
Payments and finance
- Transfer payments
apps/api/src/modules/payments - Wallets and payouts
apps/api/src/modules/wallets - Financial ledger
apps/api/src/modules/ledger
Platform services
- Backend API
apps/api/src/http-app.ts - Identity and access
apps/api/src/modules/identity - Audit log
apps/api/src/modules/audit/audit.service.ts - Platform settings
apps/api/src/modules/platform-config/settings.service.ts
Runtime infrastructure
- PostgreSQL data
apps/api/src/infrastructure/database/database.module.ts - Realtime updates
apps/api/src/modules/realtime - Media storage
apps/api/src/infrastructure/storage/storage.provider.ts
Other components
- Customer
- Driver
- Merchant staff
- Administrator
- SMS and WhatsApp
Connections 25
- Customer → Customer app: uses
- Driver → Driver app: uses
- Merchant staff → Merchant app: uses
- Administrator → Admin dashboard: uses
- Customer app → Backend API: requests data
- Driver app → Backend API: requests data
- Merchant app → Backend API: requests data
- Admin dashboard → Backend API: manages platform
- Backend API → Identity and access: provides auth
- Backend API → Cities and addresses: serves locations
- Backend API → Stores and menus: serves stores
- Backend API → Order lifecycle: handles orders
- Backend API → Driver dispatch: coordinates delivery
- Backend API → Driver onboarding: manages onboarding
- Backend API → Transfer payments: verifies transfers
- Backend API → Wallets and payouts: manages payouts
- Backend API → Audit log: records actions
- Backend API → Platform settings: loads settings
- Backend API → PostgreSQL data: reads and writes
apps/api/src/infrastructure/database/database.module.ts - Backend API → Realtime updates: publishes updates
- Backend API → Media storage: stores media
- Identity and access → SMS and WhatsApp: sends login codes
- Transfer payments → Wallet SMS gateway: receives transfer messages
- Wallets and payouts → Financial ledger: uses postings
apps/api/src/modules/wallets/application/wallet-query.service.ts - Public website → Customer: informs