AV-Lab / AutoEye

An open-source solution in development, tailored for streamlined vehicle tracking and management. Whether overseeing a fleet of vehicles or keeping tabs on individual rides for personal purposes, AutoEye will offer live location updates, empowering you to stay on top of things with ease.
https://avlab.io/
MIT License
2 stars 1 forks source link

Implement Channels CRUD Functionality #2

Closed mohdbk closed 4 months ago

mohdbk commented 4 months ago

Description:

AutoEye aims to improve vehicle organization and management by implementing Channels CRUD functionality. Channels will be used to categorize vehicles based on their usage and configuration. This enhancement will pave the way for future Role-Based Access Control (RBAC) implementation, where access permissions will be managed channel-wise.

Objective:

The primary objective of this issue is to implement Channels CRUD functionality to allow users to add, retrieve, update, and delete channels. Each channel will serve as a grouping mechanism for vehicles, enabling better organization and management.

Tasks:

  1. Database Schema Update:
    • Add a Channels table to the database schema with fields for ID, name, and any other relevant attributes.
  2. Backend Implementation:
    • Implement GraphQL endpoints for creating, retrieving, updating, and deleting channels.
    • Implement necessary validation and error handling for channel operations.
    • Ensure proper integration with existing backend services.
  3. Frontend Integration:
    • Update the frontend interface to include UI elements for managing channels.
    • Implement functionality to display existing channels, add new channels, edit channel details, and delete channels.
  4. Testing:
    • Write unit tests to validate the functionality of the Channels CRUD operations.
    • Conduct integration testing to ensure seamless interaction between frontend and backend components.
    • Perform thorough testing to identify and resolve any potential issues or bugs.

Acceptance Criteria:

Additional Information:

mohdbk commented 4 months ago

Committed enhancement to develop branch.

mohdbk commented 4 months ago

Manage Channels

Screenshot from 2024-05-28 16-02-51

Create/Edit Channels

Screenshot from 2024-05-28 16-03-00