How ramawaterfilter/rama-cs-app works
Phoenix is a customer-service ticket management application: staff authenticate, work tickets and customer queries, and use role-oriented dashboards; administrators also manage users and query metadata, while logistics staff handle returns and replacements. The Angular frontend routes these workflows and the Laravel API exposes their backend operations. The graph preserves reporting, outreach, profile requests, and management capabilities named in the repository tree, though their implementation details were not sampled. Edges are limited to route declarations and source-index references; unsampled frontend-to-API wiring is therefore not asserted.
Main entry points: api.php API routes · app.routes.ts Application routes · ReportController.php Reports · LogisticsController.php Returns and replacements
Components 24
Staff application
- Application routes
frontend/src/app/app.routes.ts - Login
frontend/src/app/components/login/login.component.ts - Role dashboards
frontend/src/app/components/admin-dashboard/admin-dashboard.component.ts - Ticket grid
frontend/src/app/components/ticket-grid/ticket-grid.component.ts - Logistics dashboard
frontend/src/app/components/logistics-dashboard/logistics-dashboard.component.ts - Query form
frontend/src/app/components/public-form/public-form.component.ts - Auth service
frontend/src/app/services/auth.service.ts
API and identity
- API routes
backend/routes/api.php - Authentication
backend/app/Http/Controllers/AuthController.php - User accounts
backend/app/Models/User.php
Ticket operations
- Ticket handling
backend/app/Http/Controllers/CustomerTicketController.php - Ticket records
backend/app/Models/CustomerTicket.php - Returns and replacements
backend/app/Http/Controllers/LogisticsController.php - Ticket replacements
backend/app/Models/TicketReplacement.php - Ticket returns
backend/app/Models/TicketReturn.php - Reports
backend/app/Http/Controllers/ReportController.php
Administration
- Query categories
backend/app/Http/Controllers/QueryCategoryController.php - Category hierarchy
backend/app/Models/QueryCategory.php - Query metadata
backend/app/Http/Controllers/QueryTypeController.php - Ticket statuses
backend/app/Http/Controllers/QueryStatusController.php
Support workflows
- Customer outreach
backend/app/Http/Controllers/CustomerOutreachController.php - Profile requests
backend/app/Http/Controllers/UserProfileRequestController.php - User activity
backend/app/Models/UserActivity.php
Other components
- Staff user
Connections 29
- Staff user → Application routes: uses
- Application routes → Login: routes to
frontend/src/app/app.routes.ts - Application routes → Role dashboards: routes to
frontend/src/app/app.routes.ts - Application routes → Ticket grid: routes to
frontend/src/app/app.routes.ts - Application routes → Logistics dashboard: loads
frontend/src/app/app.routes.ts - Application routes → Query form: routes to
frontend/src/app/app.routes.ts - Auth service → Authentication: calls API
- API routes → Authentication: routes to
backend/routes/api.php - API routes → Ticket handling: routes to
backend/routes/api.php - API routes → Returns and replacements: routes to
backend/routes/api.php - API routes → Reports: routes to
backend/routes/api.php - API routes → Query categories: routes to
backend/routes/api.php - API routes → Query metadata: routes to
backend/routes/api.php - API routes → Ticket statuses: routes to
backend/routes/api.php - API routes → Customer outreach: routes to
backend/routes/api.php - API routes → Profile requests: routes to
backend/routes/api.php - Authentication → User accounts: uses
backend/app/Http/Controllers/AuthController.php - Ticket handling → Ticket records: uses
backend/app/Http/Controllers/CustomerTicketController.php - Returns and replacements → Ticket records: uses
backend/app/Http/Controllers/LogisticsController.php - Returns and replacements → Ticket replacements: uses
backend/app/Http/Controllers/LogisticsController.php - Returns and replacements → Ticket returns: uses
backend/app/Http/Controllers/LogisticsController.php - Reports → Ticket records: uses
backend/app/Http/Controllers/ReportController.php - Reports → User accounts: uses
backend/app/Http/Controllers/ReportController.php - Reports → Ticket replacements: uses
backend/app/Http/Controllers/ReportController.php - Reports → Ticket returns: uses
backend/app/Http/Controllers/ReportController.php - Query categories → Category hierarchy: uses
backend/app/Http/Controllers/QueryCategoryController.php - Query categories → User activity: records activity
backend/app/Http/Controllers/QueryCategoryController.php - Ticket statuses → User activity: records activity
backend/app/Http/Controllers/QueryStatusController.php - User activity → User accounts: belongs to
backend/app/Models/UserActivity.php