A web-based sales and inventory management system built as a university thesis project. Covers product, order, category, brand and user administration, plus a customer-facing storefront.
- Backend: PHP (mysqli + PDO)
- Database: MySQL
- Frontend: HTML5, CSS3, Bootstrap 5.0.2, JavaScript
- Auth: PHP sessions with role separation (Administrator / Customer)
- User management (CRUD)
- Product management with image upload
- Order management
- Category management
- Product brand management
- Company brand management
- Reporting
- Product catalog
- Product detail view
- Shopping cart
├── index.php # Entry point / login
├── login1.php # Sign-in page
├── home.php # Dashboard
├── conec.php # Database connection (PDO)
├── usuario.php # User class
├── usersession.php # Session handling
├── clientes/ # Customer storefront
├── users/ # User CRUD
├── productos/ # Product CRUD
├── pedidos/ # Order CRUD
├── categorias/ # Category CRUD
├── marcaproductos/ # Product brand CRUD
├── marcasociedad/ # Company brand CRUD
├── reportes/ # Reports
└── css/ js/ img/ # Static assets
Schema name: khopy_bd
Main tables: users, productos, pedidos, categoria_producto, marca_producto, marca_sociedad
- Clone the repository
- Import the
khopy_bdschema into MySQL - Configure the connection in
conec.php(default: hostlocalhost, userroot, empty password) - Serve with Apache + PHP (XAMPP, WAMP, or equivalent)
Academic project — university coursework.