How pabir/digisewa works
Tafdeal is an Expo/React Native marketplace backed by Firebase. The visible client entry point installs authentication, wishlist, comparison, and cart state before opening navigation; the sampled backend handles marketplace operations including payment callbacks, order updates, seller settlements, catalog data, and recommendations. The source tree indicates additional client screens and services, but their implementations were not sampled, so their detailed flow is left unspecified. restore.js is a source-repair script, not part of the runtime architecture.
Main entry points: App.tsx App entry · index.js Marketplace operations · navigation App navigation · screens Marketplace screens
Components 16
Marketplace client
- App entry
App.tsx - Authentication state
src/context - Wishlist state
src/context - Compare state
src/context - Cart state
src/context - App navigation
src/navigation - Marketplace screens
src/screens - Client services
src/services
Marketplace backend
- Firebase platform
- Marketplace operations
functions/index.js - Payment processing
functions/index.js - Seller settlements
functions/index.js - Redis cache
Catalog and discovery
- Catalog management
functions/index.js - Product discovery
functions/index.js
Other components
- Marketplace user
Connections 15
- Marketplace user → App entry: uses
- App entry → Authentication state: provides
App.tsx - App entry → Wishlist state: provides
App.tsx - App entry → Compare state: provides
App.tsx - App entry → Cart state: provides
App.tsx - App entry → App navigation: renders
App.tsx - App navigation → Marketplace screens: routes to
- Marketplace screens → Client services: uses
- Marketplace operations → Firebase platform: reads and writes
functions/index.js - Payment processing → Firebase platform: updates orders
functions/index.js - Seller settlements → Firebase platform: reads and writes
functions/index.js - Catalog management → Firebase platform: reads and writes
functions/index.js - Product discovery → Firebase platform: reads products
functions/index.js - Marketplace operations → Redis cache: caches products
functions/index.js - Payment processing → Marketplace user: accepts payment