Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.39 KB

File metadata and controls

37 lines (24 loc) · 1.39 KB

📦 Hardware borrowing dashboard

This project is a dashboard for managing hardware borrowing and tracking, allowing each piece of equipment to be added, referenced, and managed via a unique identifier and QR code.


📌 Project objective

To enable users (or managers) to quickly add equipment to a centralized database, with automatic generation of a QR code for each piece of equipment, in order to facilitate tracking, physical identification, and loan management.
When adding equipment, the QR code is automatically printed on labels using a P-Touch Printer portable printer.


✅ Features implemented

🎯 Frontend – Next.js

  • Creation of a form for adding equipment:

    • Fields: hardware_id, name, price, brand, yearOfPurchase, category, manufacturer, location, etc.
    • Dynamic validation via React Hook Form.
  • Addition and management of fields location, manufacturer, category:

    • These fields are integrated into the form and inserted into the database via API.
      • location: default storage location.
      • manufacturer: manufacturer.
      • category: type of equipment (laptop, PC, server, etc.).
  • Testing, debugging, and improving the UX:

    • Client-side error handling.
    • Preview and user feedback (teacher).

🛠️ Backend – PHP + Proxy Next.js

📁 PHP API: addhardware.php

  • Processing POST requests.