How pruthvimax/manikya_chitfund_official works
Manikya Chits is a mobile and backend system for administering chit-fund memberships and operations. Members enter through the mobile app to access account, group, payment, and auction features; employees handle enrollments, collections, and daily work; administrators manage people, schemes, groups, and operational requests. The backend exposes these capabilities through an Express API, with controllers operating on MongoDB-backed models. README capabilities and the tree support the broad subsystem map; only enrollment, group, notification, and bid implementation details were sampled, so other internal wiring is left unspecified.
Main entry points: index.js Express server · models Mongoose models · controllers Domain controllers · index.tsx Mobile entry
Components 22
Mobile app
- Mobile entry
app/index.tsx - Member features
app - Employee portal
app/employee - Admin portal
app/admin
API entry
- Express server
backend/index.js - Enrollment API
backend/routes/enrollmentRoutes.js - Group API
backend/routes/groupRoutes.js - Notification API
routes/notificationRoutes.js - Member API
routes/memberRoutes.js - Domain controllers
backend/controllers
Chit operations
- Schemes and groups
backend/controllers/groupController.js - Auctions and bids
backend/controllers/bidController.js - Vacancy joining
backend/controllers/vacancyController.js
People workflows
- Enrollment workflow
backend/controllers/enrollmentController.js - Member records
backend/controllers/memberController.js - Operational workflows
backend/controllers
Persistence
- MongoDB
backend/config/db.js - Mongoose models
backend/models - WhatsApp messaging
backend/utils/sendWhatsapp.js
Other components
- Member
- Employee
- Administrator
Connections 27
- Member → Mobile entry: opens app
- Employee → Employee portal: uses portal
- Administrator → Admin portal: uses portal
- Mobile entry → Member features: navigates
- Mobile entry → Express server: API access
- Employee portal → Express server: API access
- Admin portal → Express server: API access
- Express server → Enrollment API: mounts routes
- Express server → Group API: mounts routes
- Express server → Notification API: mounts routes
- Express server → Member API: mounts routes
- Express server → MongoDB: connects
- Enrollment API → Domain controllers: dispatches
- Group API → Schemes and groups: dispatches
- Notification API → Domain controllers: dispatches
- Member API → Domain controllers: dispatches
- Domain controllers → Enrollment workflow: handles enrollment
- Domain controllers → Member records: handles members
- Domain controllers → Operational workflows: handles operations
- Enrollment workflow → Mongoose models: reads and writes
- Schemes and groups → Mongoose models: reads and writes
- Auctions and bids → Mongoose models: reads and writes
- Vacancy joining → Mongoose models: reads and writes
- Member records → Mongoose models: reads and writes
- Operational workflows → Mongoose models: reads and writes
- Mongoose models → MongoDB: persists records
- Auctions and bids → WhatsApp messaging: messaging integration