Scanner Project is a full-stack web application developed for the Computer Networks course (2021), combining a relational PHP/MySQL backend with browser-based optical barcode recognition via QuaggaJS for household and warehouse inventory management.
Architecture & Core Modules
The application organizes physical items and tasks across three interconnected database views (database.sql):
- Optical EAN Barcode Recognition (
QuaggaJS): Decodes standard 1D barcodes (EAN-13 / EAN-8) directly in the browser from uploaded images or camera streams, automatically querying the local database (search.php) to pre-fill item metadata or register new products. - Container & Warehouse Inventory (
Conteiner.php,prodotti.php): Maps physical storage containers to registered products, supporting both barcode-indexed items and manually entered unlabelled objects, with quantity tracking and instant filtering. - Task & Restock Lists (
ToDoList.php): Maintains actionable checklists linked to inventory records so depleted items can be queued for restocking or tracked alongside general tasks.
Implementation Details
Built without heavyweight frontend frameworks, the interface pairs server-rendered PHP views with asynchronous jQuery form handlers, Bootstrap layout components, and custom LESS stylesheets compiled on the client. The repository includes the complete SQL schema (database.sql), sample barcode test assets, and Apache/MySQL deployment configuration.