How jjagapathi385-byte/js-quotebot works
This is a Flask-based quotation tool with two user-facing modes: QuoteBot and QuoteForm. The visible flow includes PIN-gated access, customer selection, quotation input, and Zoho setup or invoice-data operations. The application is a single large module, so its responsibilities share one source path. The README is empty and the source excerpts omit much of the route logic; dashed, unevidenced links mark likely workflow connections rather than inspected calls.
Main entry points: app.py Flask application
Components 10
Access and UI
- Flask application
app.py - PIN sessions
app.py
Quotation workflows
- QuoteBot
app.py - QuoteForm
app.py - Customer lookup
app.py - Quotation data
app.py
Zoho integration
- Zoho OAuth
app.py - Zoho Invoice API
- Zoho services
Other components
- User
Connections 11
- User → Flask application: uses
app.py - Flask application → PIN sessions: checks sessions
app.py - PIN sessions → QuoteBot: gates access
app.py - PIN sessions → QuoteForm: gates access
app.py - QuoteForm → Customer lookup: loads customers
app.py - Customer lookup → Zoho services: fetches contacts
app.py - QuoteForm → Quotation data: submits details
app.py - Quotation data → Zoho services: uses tax and items
- Flask application → Zoho OAuth: handles setup
app.py - Zoho OAuth → Zoho Invoice API: requests token
app.py - Zoho services → Zoho Invoice API: calls API