Repository navigation
Quick Start Guide
This guide provides a short path for understanding and exploring the MySQL JSON Duality Views Quality Inspection project.
The solution demonstrates how a manufacturing inspection card can be stored relationally while being accessed by an application as a JSON business document.
For the authoritative installation commands, configuration variables, and current prerequisites, always use the README and versioned setup documentation included in the repository.
The project includes:
- MySQL relational tables
- JSON Duality Views
- A Node.js and TypeScript REST API
- A lightweight browser-based Web Client
- Inspection-card workflows
- Governed AI features
- Automated tests and example API requests
MySQL Database
|
v
JSON Duality Views
|
v
Node.js REST API
|
v
Browser Web Client
For AI-assisted requests:
Approved Read-Only Documents
|
v
Application API
|
v
Protected AI Gateway
|
v
Generative AI Service
Clone the project and enter its directory:
git clone https://github.com/morad1998/mysql-jdv-quality-inspection.git
cd mysql-jdv-quality-inspectionThe principal project areas include:
database/ Database scripts and JSON Duality View definitions
api/ Node.js and TypeScript REST API
web/ Lightweight browser-based Web Client
docs/ Architecture, API, AI, and project documentation
Additional directories may be present for deployment, testing, examples, or OCI integration.
Before executing database scripts, review:
- The main README
- Database setup documentation
- API documentation
- Example request scripts
- AI architecture and deployment notes
This is important because the repository documentation records the expected execution order and configuration requirements.
Use a compatible MySQL environment and follow the versioned database instructions in the repository.
The database setup creates or configures the project's:
- Relational tables
- Relationships and constraints
- JSON Duality Views
- Application users and roles
- Read-only AI boundary
- Demonstration data
Do not execute scripts in an arbitrary order. Follow the sequence documented in the repository.
The API requires its runtime and database connection settings.
Use the example environment configuration provided in the repository rather than committing local credentials.
Important principles:
- Keep passwords and tokens outside Git
- Use only the privileges required by the application
- Keep AI access