Skip to content

Implement Asset Module with Full CRUD + Extended Features #13

@yusuftomilola

Description

@yusuftomilola

Build a fully functional Asset module that enables users to create, read, update, and delete asset records, as well as manage asset metadata, upload associated files, and enhance traceability with QR codes and search/filter capabilities.


📌 Tasks

  1. ✅ Define Asset Entity:

    • Include fields such as: name, description, category, location, status, image URL, QR code data, purchase date, value, etc.
    • Establish relationships (e.g., belongs to a user or department, linked to maintenance logs, etc.)
  2. ✅ Implement CRUD Operations:

    • Create Asset
    • Retrieve list of assets (with pagination)
    • Get single asset by ID
    • Update Asset
    • Delete Asset (soft delete preferred)
  3. 🔍 Add Filtering & Search:

    • Filter by category, status, location, and date range
    • Search by name, asset tag, or description (full-text or fuzzy search)
  4. 📷 File Upload Support:

    • Allow users to upload one or more images per asset
    • Store metadata and link file URLs to the asset entity
  5. 📎 Generate QR Code:

    • Automatically generate a QR code for each asset
    • QR should encode a unique identifier or asset URL
    • Store the QR image as a file or base64 string

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions