How limbooc/mycrm works
MyCRM is a Flask CRM for managing requests, objects, contractors, and related workflow data. Users authenticate, browse and search records, create requests, then process them with contractor/manufacturer assignments, status changes, and attachments; comments and REST integrations support that core workflow. The graph also preserves documented admin, audit, and OP capabilities. README describes the wider UI and integrations; where their implementation was not sampled, links are limited to paths supported by the tree and documented behavior.
Main entry points: app.py Flask application · models ORM models · auth.py Authentication · request_process_routes.py Request processing
Components 21
Web entry and UI
- Flask application
app.py - Browser UI
static
CRM workflows
- Authentication
blueprints/auth.py - Dashboard
routes/main_routes.py - Request CRUD
routes/request_crud_routes.py - Request processing
routes/request_process_routes.py - Object management
routes/object_routes.py - Contractor management
routes/contractor_routes.py - Request comments
routes/request_comment_routes.py - Search routes
routes/search_routes.py
Integration and operations
- REST API v1/v2
routes/api - OP module
blueprints/op.py - Admin operations
routes/admin_routes.py - Audit events
routes/audit_routes.py - File handling
routes/file_routes.py
Security and persistence
- ORM models
models - Relational database
database.py - Validation and security
security_utils.py
Other components
- CRM user
- Redis service
- reCAPTCHA service
Connections 33
- CRM user → Browser UI: uses
- Browser UI → Flask application: HTTP requests
- Flask application → Authentication: dispatches
- Flask application → Dashboard: dispatches
- Flask application → Request CRUD: dispatches
- Flask application → Request processing: dispatches
- Flask application → Object management: dispatches
- Flask application → Contractor management: dispatches
- Flask application → Request comments: dispatches
- Flask application → Search routes: dispatches
- Flask application → REST API v1/v2: dispatches
- Flask application → OP module: dispatches
- Flask application → Admin operations: dispatches
- Flask application → Audit events: dispatches
- Flask application → File handling: dispatches
- Authentication → ORM models: loads user
- Authentication → Validation and security: validates credentials
- Authentication → reCAPTCHA service: verifies token
- Dashboard → ORM models: queries records
- Request CRUD → ORM models: reads/writes requests
- Request processing → ORM models: updates workflow
- Request processing → File handling: handles uploads
- Object management → ORM models: reads/writes objects
- Contractor management → ORM models: reads/writes contractors
- Request comments → ORM models: reads/writes comments
- Search routes → ORM models: searches records
- REST API v1/v2 → ORM models: serves CRM data
- OP module → ORM models: uses OP data
- Admin operations → ORM models: manages data
- Audit events → ORM models: records events
- ORM models → Relational database: persists through
- Flask application → Validation and security: enforces protections
- Flask application → Redis service: configures optional storage