How quituan/cnpm works
PC 24/7 is a computer-repair booking and operations application. Customers browse services and request appointments; staff-facing pages support technician order handling and administration, including inventory and revenue reporting. Authentication and registration provide role-based access, while customer and technician pages expose order tracking and chat interfaces. The excerpts show direct PHP-to-MySQL access and some login routing; the README is empty, and unsampled code limits certainty about page inclusion and several feature integrations.
Main entry points: login.php Sign in · database.sql Application database · booking.php Appointment request · index.php Service catalog
Components 13
Customer experience
- Service catalog
index.php - Appointment request
booking.php - Customer order tracking
khachhang.php
Identity and access
- Sign in
login.php - Customer registration
register.php - Session and role checks
auth.php - Sign out
logout.php
Repair operations
- Technician order desk
kythuat.php - Admin management
admin.php - Dashboard entry
dashboard.php
Persistence
- Application database
database.sql - MySQL connection
connect.php
Other components
- Visitor / customer
Connections 18
- Visitor / customer → Service catalog: browses
index.php - Visitor / customer → Appointment request: requests appointment
booking.php - Visitor / customer → Sign in: signs in
login.php - Sign in → Application database: reads accounts
login.php - Customer registration → Application database: creates account
register.php - Sign in → Admin management: routes admin
login.php - Sign in → Technician order desk: routes technician
login.php - Sign in → Service catalog: routes customer
login.php - Service catalog → MySQL connection: opens connection
index.php - Appointment request → Application database: inserts booking
booking.php - Appointment request → MySQL connection: opens connection
booking.php - Visitor / customer → Customer order tracking: tracks orders
- Customer order tracking → Technician order desk: chat interface
- Technician order desk → Application database: reads and updates orders
- Admin management → Application database: manages records
- Session and role checks → Sign in: redirects unauthenticated
auth.php - Visitor / customer → Customer registration: registers
- Sign out → Sign in: redirects after sign-out
logout.php