How yocswar/lovelace-ceramique works
PotterPilot supports organization setup and sign-in, then lets workshop users create orders and follow individual pieces as tickets across production stages, with assignment and loss handling. The main path is browser routes → order/Kanban screens → routed PHP API controllers → domain models and JSON views → PostgreSQL. The README also describes stage, deadline, task, and loss goals; sampled code confirms Kanban, assignment, and ticket recreation, but not all of those capabilities. Unshown UI/API links are omitted or marked unverified.
Main entry points: CommandeController.php Orders API · TicketController.php Tickets API · index.php HTTP router · UtilisateurController.php Organization users API
Components 33
Workshop interface
- Route shell
frontend/src/App.jsx - Organization setup
frontend/src/components/FormulaireOrganisation/FormulaireOrganisation.jsx - Sign-in form
frontend/src/components/FormulaireConnexion/FormulaireConnexion.jsx - Workshop home
frontend/src/components/Accueil/Accueil.jsx - Order list
frontend/src/components/Commandes/Commandes.jsx - Order creation
frontend/src/components/FormulaireCommande/FormulaireCommande.jsx - Production board
frontend/src/components/Kanban/Kanban.jsx - Ticket actions
frontend/src/components/TicketMenu/TicketMenu.jsx - Status feedback
frontend/src/components/Toast/Toast.jsx - Success screen
frontend/src/components/EcranSucces/EcranSucces.jsx
HTTP application
- HTTP router
backend/public/index.php - Authentication API
backend/controllers/AuthController.php - Organization users API
backend/controllers/UtilisateurController.php - Orders API
backend/controllers/CommandeController.php - Piece catalog API
backend/controllers/PieceController.php - Tickets API
backend/controllers/TicketController.php - Health check API
backend/controllers/HealthcheckController.php - Order responses
backend/views/CommandeView.php - Ticket responses
backend/views/TicketView.php - Piece responses
backend/views/PieceView.php - Health response
backend/views/HealthcheckView.php
Workshop domain
- Order operations
backend/models/CommandeModel.php - Ticket operations
backend/models/TicketModel.php - Piece catalog
backend/models/PieceModel.php - Production stages
backend/models/EtapeModel.php - User records
backend/models/UtilisateurModel.php - Organization records
backend/models/OrganisationModel.php - User validation
backend/services/UtilisateurValidator.php - Database probe
backend/models/HealthcheckModel.php
Persistence and access
- JWT verification
backend/services/JwtAuth.php - PDO connection
backend/config/db.php
Other components
- Workshop user
- PostgreSQL
Connections 44
- Workshop user → Route shell: uses
README.md - Route shell → Sign-in form: routes to
frontend/src/App.jsx - Route shell → Organization setup: routes to
frontend/src/App.jsx - Route shell → Workshop home: routes to
frontend/src/App.jsx - Route shell → Order creation: routes to
frontend/src/App.jsx - Sign-in form → Authentication API: submits credentials
- Organization setup → Organization users API: creates account
- Workshop home → Order list: renders
frontend/src/components/Accueil/Accueil.jsx - Order list → Production board: renders
frontend/src/components/Commandes/Commandes.jsx - Order list → Ticket actions: uses
frontend/src/components/Commandes/Commandes.jsx - Order creation → Success screen: shows
frontend/src/components/FormulaireCommande/FormulaireCommande.jsx - Production board → Tickets API: loads and updates
frontend/src/components/Kanban/Kanban.jsx - Production board → Status feedback: renders
frontend/src/components/Kanban/Kanban.jsx - Order creation → Orders API: submits order
- Order creation → Piece catalog API: loads catalog
- HTTP router → Authentication API: dispatches
backend/public/index.php - HTTP router → Organization users API: dispatches
backend/public/index.php - HTTP router → Orders API: dispatches
backend/public/index.php - HTTP router → Piece catalog API: dispatches
backend/public/index.php - HTTP router → Tickets API: dispatches
backend/public/index.php - HTTP router → Health check API: dispatches
backend/public/index.php - Authentication API → PDO connection: opens connection
backend/controllers/AuthController.php - Authentication API → User records: checks credentials
backend/controllers/AuthController.php - Organization users API → User validation: validates
backend/controllers/UtilisateurController.php - Organization users API → PDO connection: opens connection
backend/controllers/UtilisateurController.php - Organization users API → Organization records: creates organization
backend/controllers/UtilisateurController.php - Organization users API → User records: creates or lists
backend/controllers/UtilisateurController.php - Orders API → JWT verification: checks token
backend/controllers/CommandeController.php - Orders API → PDO connection: opens connection
backend/controllers/CommandeController.php - Orders API → Piece catalog: checks pieces
backend/controllers/CommandeController.php - Orders API → Order operations: creates or lists
backend/controllers/CommandeController.php - Orders API → Order responses: formats response
backend/controllers/CommandeController.php - Tickets API → PDO connection: opens connection
backend/controllers/TicketController.php - Tickets API → Production stages: loads stages
backend/controllers/TicketController.php - Tickets API → Ticket operations: loads tickets
backend/controllers/TicketController.php - Tickets API → Piece catalog: checks piece
backend/controllers/TicketController.php - Tickets API → Ticket responses: formats response
backend/controllers/TicketController.php - Piece catalog API → JWT verification: checks token
backend/controllers/PieceController.php - Piece catalog API → PDO connection: opens connection
backend/controllers/PieceController.php - Piece catalog API → Piece catalog: loads pieces
backend/controllers/PieceController.php - Piece catalog API → Piece responses: formats response
backend/controllers/PieceController.php - Health check API → Database probe: checks database
backend/controllers/HealthcheckController.php - Health check API → Health response: formats response
backend/controllers/HealthcheckController.php - PDO connection → PostgreSQL: connects
README.md