How thesyedammar/sahkarsetu works
SahkarSetu is a cooperative marketplace for household and community services. Customers browse verified workers, request scheduled or emergency jobs, track booking progress, pay a simulated charge, and leave feedback; cooperatives and federation administrators manage verification, welfare, payouts, and demand planning. Workers manage jobs, profiles, certificates, and welfare through a multilingual PWA. The backend is a FastAPI application backed by SQLite, with a separate explainable forecast module. Several backend route details were not sampled, so capability links rely on the README where noted.
Main entry points: main.py FastAPI routes · app.js App router and auth · views_admin.js Federation dashboard · forecast.py Demand forecasting
Components 16
Customer marketplace
- Worker discovery
static/js/views_browse.js - Booking flow
static/js/views_browse.js - Payment and feedback
static/js/views_worker.js
Worker services
- Booking and job hub
static/js/views_worker.js - Worker profile and welfare
static/js/views_worker.js
Cooperative governance
- Society dashboard
static/js/views_society.js - Federation dashboard
static/js/views_admin.js
Platform core
- App router and auth
static/js/app.js - FastAPI routes
main.py - Demand forecasting
forecast.py - SQLite data layer
db.py - PWA offline support
static/sw.js - Hindi English Urdu
static/js/i18n.js
Other components
- Customer
- Worker
- Co-op admins
Connections 20
- Customer → App router and auth: signs in
static/js/app.js - Worker → App router and auth: signs in
static/js/app.js - Co-op admins → App router and auth: signs in
static/js/app.js - App router and auth → Worker discovery: routes to
static/js/app.js - App router and auth → Booking and job hub: routes to
static/js/app.js - App router and auth → Federation dashboard: routes to
static/js/app.js - App router and auth → Society dashboard: routes to
static/js/app.js - Worker discovery → FastAPI routes: requests workers
static/js/views_browse.js - Booking flow → FastAPI routes: creates booking
static/js/views_browse.js - Booking and job hub → FastAPI routes: manages bookings
static/js/views_worker.js - Payment and feedback → FastAPI routes: pays and reviews
static/js/views_worker.js - Worker profile and welfare → FastAPI routes: submits welfare
static/js/views_worker.js - Society dashboard → FastAPI routes: decides requests
static/js/views_society.js - Federation dashboard → FastAPI routes: manages operations
static/js/views_admin.js - FastAPI routes → SQLite data layer: reads and writes
main.py - FastAPI routes → Demand forecasting: requests forecasts
main.py - Demand forecasting → SQLite data layer: queries history
forecast.py - Federation dashboard → Demand forecasting: views forecasts
static/js/views_admin.js - App router and auth → Hindi English Urdu: applies language
- Customer → PWA offline support: uses offline app