Repository navigation
Web Client
The Web Client provides a browser-based user interface for interacting with the Quality Inspection System.
The client was intentionally designed to be lightweight and focused on demonstrating how MySQL JSON Duality Views can support a document-centric application architecture.
The Web Client was designed to:
- Display inspection cards
- Edit inspection information
- Capture inspection data
- Support quality workflows
- Consume REST APIs
- Demonstrate document-centric development
+------------------+
| Browser UI |
+---------+--------+
|
v
+------------------+
| REST API |
+---------+--------+
|
v
+------------------+
| JSON Duality View|
+---------+--------+
|
v
+------------------+
| Relational Data |
+------------------+
Displays available inspection cards.
Information may include:
- Card ID
- Work Order
- Status
- Inspector
- Creation Date
Purpose:
Allow users to quickly locate inspections.
Displays the complete inspection document.
Sections include:
- Header Information
- Measurements
- Checklist Items
- Findings
- Attachments
This represents the primary working screen within the application.
Allows users to record measured values.
Examples:
- Pressure
- Temperature
- Voltage
- Dimensions
The recorded results become part of the inspection document.
Allows inspectors to complete quality checkpoints.
Examples:
- Visual Inspection
- Documentation Review
- Safety Verification
Results are stored as part of the inspection.
Allows inspectors to record observations and quality issues.
Examples:
- Missing Components
- Cosmetic Defects
- Process Deviations
- Incorrect Assembly
Allows supporting evidence to be associated with inspections.
Examples:
- Product photographs
- Inspection reports
- Supporting documentation
Attachments improve traceability and auditability.
Typical workflow:
Open Inspection
|
v
Record Measurements
|
v
Complete Checklist
|
v
Register Findings
|
v
Upload Evidence
|
v
Close Inspection
The Web Client communicates exclusively through REST APIs.
Examples:
GET /cards
GET /cards/{id}
PUT /cards/{id}
POST /cards/{id}/close
Benefits:
- Clear separation of concerns
- Reusable backend services
- Future mobile compatibility
The Web Client includes AI-assisted capabilities.
Examples:
Generate a business explanation for an inspection.
Generate summarized inspection reports.
Generate operational insights and trends.
These capabilities are available through dedicated API endpoints.
The project emphasizes:
- Simplicity
- Business-document thinking
- Reduced complexity
- JSON-native interactions
- Maintainability
The user interface interacts with business documents rather than individual database tables.
Potential future enhancements include:
- Mobile-optimized layouts
- Dashboard visualizations
- Advanced search capabilities
- Role-based personalization
- Expanded AI-assisted analysis