How sahil-gith-pbpl/home-collection-new-main-project works
Arpra-neo is a Flask operations application spanning CRM leads and tickets, home-collection bookings and estimates, and laboratory, field, and WhatsApp workflows. The principal user flow is a staff member logging in, using registered route handlers to manage operational records, and persisting or retrieving data through the configured database connections. Home collection has a substantial booking core; WhatsApp messaging and audit are also distinct capabilities. The README provides no additional product description, and several route implementations were not sampled, so their internal relationships are not inferred.
Main entry points: connection.py Database connections · __init__.py Flask app setup · tickets.py Ticket workflows · alerts.py WhatsApp alerts
Components 20
Application
- Flask app setup
app/__init__.py - Login and access
app/routes/auth.py - Database connections
app/db/connection.py
CRM and Tickets
- Lead management
app/routes/leads_list.py - Lead routes
app/routes - Ticket workflows
app/routes/tickets.py - Ticket lists and details
app/routes/ticketlist.py - Ticket detail
app/routes/ticket_detail.py
Home Collection
- Home collection routes
app/routes/hhome_collection.py - Booking core
app/home_collection_core/hhome_collection_core.py - Estimate core
app/home_collection_core/hestimate_core.py
Lab and Field Operations
- Collection operations reports
app/routes/hbatch_handover_ui.py - Phlebo summary
app/routes/phlebo_summary.py - Labmate API
app/routes/labmate_api.py - Vene-punchre cases
app/routes/venepunchre.py
Messaging
- WhatsApp panel
app/routes/whatsapp_panel.py - WhatsApp alerts
app/alerts.py - WhatsApp audit
app/whatsapp_audit.py
Other components
- Staff user
- WhatsApp API
Connections 30
- Staff user → Login and access: logs in
app/routes/auth.py - Login and access → Database connections: queries users
app/routes/auth.py - Flask app setup → Login and access: registers routes
app/__init__.py - Flask app setup → Lead routes: registers routes
app/__init__.py - Flask app setup → Ticket workflows: registers routes
app/__init__.py - Flask app setup → Ticket lists and details: registers routes
app/__init__.py - Flask app setup → Ticket detail: registers routes
app/__init__.py - Flask app setup → Home collection routes: registers routes
app/__init__.py - Flask app setup → Phlebo summary: registers routes
app/__init__.py - Flask app setup → Collection operations reports: registers routes
app/__init__.py - Flask app setup → Labmate API: registers routes
app/__init__.py - Flask app setup → WhatsApp panel: registers routes
app/__init__.py - Lead management → Database connections: reads and writes
app/routes/leads_list.py - Ticket workflows → Database connections: reads and writes
app/routes/tickets.py - Ticket lists and details → Database connections: reads and writes
app/routes/ticketlist.py - Ticket detail → Database connections: reads and writes
app/routes/ticket_detail.py - Home collection routes → Estimate core: uses estimates
app/routes/hhome_collection.py - Booking core → Database connections: reads and writes
app/home_collection_core/hhome_collection_core.py - Estimate core → Database connections: reads and writes
app/home_collection_core/hestimate_core.py - Collection operations reports → Database connections: reads and writes
app/routes/hbatch_handover_ui.py - Phlebo summary → Database connections: reads and writes
app/routes/phlebo_summary.py - Vene-punchre cases → Database connections: connects to case store
app/routes/venepunchre.py - WhatsApp panel → Database connections: reads and writes
app/routes/whatsapp_panel.py - WhatsApp alerts → WhatsApp API: sends messages
app/alerts.py - Ticket workflows → WhatsApp alerts: sends alerts
app/routes/tickets.py - Ticket workflows → WhatsApp audit: logs sends
app/routes/tickets.py - Booking core → WhatsApp alerts: sends alerts
app/home_collection_core/hhome_collection_core.py - Booking core → WhatsApp audit: logs messages
app/home_collection_core/hhome_collection_core.py - WhatsApp alerts → WhatsApp audit: logs sends
app/alerts.py - WhatsApp audit → Database connections: stores audit
app/whatsapp_audit.py