How mishraaryan6387/sih26090-artisan-platform works
SIH26090 is an artisan-to-buyer market-linkage platform: artisans create and publish multilingual product catalogs, buyers discover products and place orders, and artisans process those orders through fulfillment. The Flutter app is the user-facing client; the Node service owns application data and API orchestration, while FastAPI provides image, audio, text, and pricing inference. The sampled source confirms product, order, authentication, and media-storage behavior; some README-listed capabilities and mobile internals are represented only at their documented subsystem boundary.
Main entry points: app.js Express API · main.py Inference API · productController.js Catalog management · orderRoutes.js Order routes
Components 26
Mobile client
- Flutter app
mobile
Node backend
- Express API
backend-service/src/app.js - Authentication
backend-service/src/controllers/authController.js - Auth routes
backend-service/src/routes/authRoutes.js
Marketplace workflows
- Product routes
backend-service/src/routes/productRoutes.js - Catalog management
backend-service/src/controllers/productController.js - Order routes
backend-service/src/routes/orderRoutes.js - Order lifecycle
backend-service/src/controllers/orderController.js - Order payments
backend-service/src/controllers/paymentController.js - Artisan and buyer
backend-service/src/controllers/artisanController.js - Buyer enquiries
backend-service/src/controllers/enquiryController.js - Notifications
backend-service/src/controllers/notificationController.js
AI cataloging
- AI routes
backend-service/src/routes/aiRoutes.js - AI orchestration
backend-service/src/controllers/aiController.js - Structured catalog
backend-service/src/services/llmService.js - Media storage
backend-service/src/services/b2Storage.js - ML client
backend-service/src/services/mlClient.js
ML inference
- Inference API
ml-service/app/main.py - Image enhancement
ml-service/app/routers/image.py - Speech recognition
ml-service/app/routers/audio.py - Translation and description
ml-service/app/routers/text.py - Pricing estimates
ml-service/app/routers/pricing.py
Other components
- Artisan
- Buyer
- PostgreSQL
- Backblaze B2
Connections 25
- Artisan → Flutter app: uses
- Buyer → Flutter app: uses
- Flutter app → Express API: API requests
- Express API → Auth routes: mounts
- Express API → Product routes: mounts
- Express API → Order routes: mounts
- Express API → AI routes: mounts
- Auth routes → Authentication: dispatches
- Product routes → Catalog management: dispatches
- Order routes → Order lifecycle: dispatches
- Order routes → Order payments: dispatches
- AI routes → AI orchestration: dispatches
- Authentication → PostgreSQL: reads and writes
- Catalog management → PostgreSQL: reads and writes
- Order lifecycle → PostgreSQL: reads and writes
- Order lifecycle → Notifications: creates alerts
- Catalog management → Media storage: uploads catalog media
- Media storage → Backblaze B2: stores media
- AI orchestration → Structured catalog: generates catalog
- AI orchestration → ML client: requests inference
- ML client → Inference API: calls
- Inference API → Image enhancement: routes image
- Inference API → Speech recognition: routes audio
- Inference API → Translation and description: routes text
- Inference API → Pricing estimates: routes pricing