How jpduron/product-catalog works
This is a small Spanish-language product catalog with a browser UI for listing, viewing, creating, editing, and deleting products. The browser calls an Express REST API, which executes SQL against a MySQL pool. The README is empty, so the workflow and capabilities shown here come from the sampled UI and server code; no separate category or inventory subsystem is evident.
Main entry points: index.html Product UI · app.js Catalog interactions · server.js Product CRUD routes
Components 6
Catalog interface
- Product UI
public/index.html - Catalog interactions
public/app.js
Product API
- Product CRUD routes
server.js
Persistence
- MySQL connection pool
server.js - Products table
Other components
- Catalog user
Connections 5
- Catalog user → Product UI: uses
- Product UI → Catalog interactions: loads
- Catalog interactions → Product CRUD routes: requests CRUD
public/app.js - Product CRUD routes → MySQL connection pool: queries
server.js - MySQL connection pool → Products table: reads and writes
server.js