Skip to content

Quick Start Guide

morad1998 edited this page Oct 17, 2026 · 1 revision

Quick Start Guide

Overview

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.


What You Will Explore

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

High-Level Flow

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

Step 1: Clone the Repository

Clone the project and enter its directory:

git clone https://github.com/morad1998/mysql-jdv-quality-inspection.git
cd mysql-jdv-quality-inspection

Step 2: Review the Repository Structure

The 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.


Step 3: Review the Documentation

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.


Step 4: Prepare MySQL

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.


Step 5: Configure the API

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

Clone this wiki locally