How tejprakash25/printfloww works
PrintFlow is a print-order management application with a React interface and Spring backend. Customers authenticate, place and track print orders, review design proofs, and handle payments; staff manage production and delivery, while admins support quotations, approvals, invoices, and operational views. The sampled backend shows order creation, production/delivery updates, payment recording, history, and notifications. The README is empty and source excerpts are selective, so unsampled feature wiring is not asserted; the frontend excerpt also includes illustrative local UI state.
Main entry points: App.tsx React App · WorkflowService.java Production, Delivery, Payment · apiClient.ts API Client · OrderService.java Order Management
Components 24
Customer Interface
- React App
src/App.tsx - API Client
src/api/apiClient.ts - Auth API
src/api/authApi.ts - Order API
src/api/orderApi.ts
Identity and Access
- Auth Endpoints
printflow-backend/src/main/java/com/printflow/backend/controller/AuthController.java - Authentication
printflow-backend/src/main/java/com/printflow/backend/service/AuthService.java - JWT Service
printflow-backend/src/main/java/com/printflow/backend/security/JwtService.java - User Store
printflow-backend/src/main/java/com/printflow/backend/repository/UserRepository.java
Orders and Designs
- Order Endpoints
printflow-backend/src/main/java/com/printflow/backend/controller/OrderController.java - Order Management
printflow-backend/src/main/java/com/printflow/backend/service/OrderService.java - Order and History Store
printflow-backend/src/main/java/com/printflow/backend/repository/PrintOrderRepository.java - Design Endpoints
printflow-backend/src/main/java/com/printflow/backend/controller/DesignController.java - Design Management
printflow-backend/src/main/java/com/printflow/backend/service/DesignService.java
Production and Finance
- Workflow Endpoints
printflow-backend/src/main/java/com/printflow/backend/controller/WorkflowController.java - Production, Delivery, Payment
printflow-backend/src/main/java/com/printflow/backend/service/WorkflowService.java - Workflow Records
printflow-backend/src/main/java/com/printflow/backend/repository/ProductionJobRepository.java - Notifications
printflow-backend/src/main/java/com/printflow/backend/service/NotificationService.java - Quotations
printflow-backend/src/main/java/com/printflow/backend/controller/QuotationController.java - Approvals
printflow-backend/src/main/java/com/printflow/backend/controller/ApprovalController.java - Invoices
printflow-backend/src/main/java/com/printflow/backend/service/InvoiceService.java - Dashboard
printflow-backend/src/main/java/com/printflow/backend/controller/DashboardController.java
Other components
- Customer
- Staff
- Admin
Connections 27
- Customer → React App: uses
- Staff → React App: uses
- Admin → React App: uses
- React App → Auth API: submits login
- Auth API → API Client: requests
- React App → Order API: order actions
- Order API → API Client: requests
- API Client → Auth Endpoints: HTTP API
- API Client → Order Endpoints: HTTP API
- Auth Endpoints → Authentication: delegates
- Authentication → User Store: reads and saves
- Authentication → JWT Service: generates token
- Customer → Order Endpoints: places and tracks orders
- Order Endpoints → Order Management: delegates
- Order Management → Order and History Store: reads and writes
- Order Management → Notifications: notifies
- Customer → Design Endpoints: manages artwork
- Design Endpoints → Design Management: delegates
- Staff → Workflow Endpoints: updates workflow
- Workflow Endpoints → Production, Delivery, Payment: delegates
- Production, Delivery, Payment → Order Management: loads and updates orders
- Production, Delivery, Payment → Workflow Records: reads and writes
- Production, Delivery, Payment → Notifications: notifies
- Admin → Quotations: manages quotations
- Admin → Approvals: handles approvals
- Admin → Invoices: manages invoices
- Admin → Dashboard: views operations