How satyasahu8317/sih26090-artisan-platform works
SIH26090 is an artisan market-linkage and smart-cataloguing platform: artisans create product listings, while buyers discover products and place orders. The backend owns authentication, persistence, marketplace workflows, and orchestration; the Python service provides stateless ML inference. The tree shows Flutter platform shells but not the Dart application source, so mobile is represented only as the client. ML routers and model implementations are mapped from the README and tree; their internal calls were not sampled, so those links are omitted.
Main entry points: main.py Inference API · db.js Database · models Inference models · app.js HTTP API
Components 22
Client
- Flutter app
mobile
Marketplace Backend
- HTTP API
backend-service/src/app.js - Authentication
backend-service/src/controllers/authController.js - Auth routes
backend-service/src/routes/authRoutes.js - AI routes
backend-service/src/routes/aiRoutes.js - AI orchestration
backend-service/src/controllers/aiController.js - ML client
backend-service/src/services/mlClient.js - Product catalog
backend-service/src/controllers/productController.js - Media storage
backend-service/src/services/b2Storage.js - Orders and checkout
backend-service/src/controllers/orderController.js - Reviews
backend-service/src/controllers/reviewController.js - Database
backend-service/src/config/db.js
ML Inference
- Inference API
ml-service/app/main.py - Pricing inference
ml-service/app/routers/pricing.py - Image inference
ml-service/app/routers/image.py - Audio transcription
ml-service/app/routers/audio.py - Text processing
ml-service/app/routers/text.py - Inference models
ml-service/app/models
Other components
- Artisan
- Buyer
- Backblaze B2
- Groq LLM
Connections 23
- Artisan → Flutter app: uses
- Buyer → Flutter app: uses
- Flutter app → HTTP API: sends requests
- HTTP API → Auth routes: mounts
- HTTP API → AI routes: mounts
- Auth routes → Authentication: dispatches
- AI routes → AI orchestration: dispatches
- Authentication → Database: reads and writes
- Orders and checkout → Database: reads and writes
- Reviews → Database: reads and writes
- Product catalog → Database: reads and writes
- AI orchestration → ML client: calls
- ML client → Inference API: requests inference
- Inference API → Pricing inference: mounts router
- Inference API → Image inference: mounts router
- Inference API → Audio transcription: mounts router
- Inference API → Text processing: mounts router
- Pricing inference → Inference models: uses models
- Image inference → Inference models: uses models
- Audio transcription → Inference models: uses models
- Text processing → Inference models: uses models
- Media storage → Backblaze B2: uploads media
- AI orchestration → Groq LLM: generates catalogue