You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Develop the backend model for teams and implement functions to query and edit the team name and orders. You can use random strings for UserIDs and HardwareIDs for now. You can refer to this PR for details on how to setup models with firebase.
Below is an example of the models associated with the team page:
Team Model:
TeamID (Unique Identifier)
TeamName (String)
Members (Array of UserIDs)
Orders
Description (String)
Items (Array of OrderItems)
OrderItem Model
OrderID (Unique Identifier)
Description (String)
Status (String)
Created (timestamp)
Updated (timestamp)
Quantity (int)
HardwareID (HardwareID)
Backend Queries & Functions:
Edit Team Name:
Firebase Function to update TeamName in the Team Model.
Manage Hardware Orders:
Query to retrieve all hardware orders associated with the team using TeamID.
Firebase Function to add a new hardware order to the Hardware Order Model. This can be done through a popup dialog after the plus button is clicked. Note that the inventory (which includes quantity of hardware) is being developed in the hardware page issue.
Firebase Function to edit an existing hardware order in the Hardware Order Model.
Firebase Function to delete a hardware order from the Hardware Order Model.
View Hardware Order Status:
Query to retrieve the status of each hardware order using OrderID.
Frontend Displays:
Team Members:
Query to retrieve all UserIDs associated with the team and display the user details.
Team Name:
Query to retrieve and display the current name of the team using TeamID.
Team Orders:
Query to retrieve all hardware orders associated with the team using TeamID and display a summarized view of the orders.
Hardware Details: (This will be done after the hardware page is done)
A link or button that redirects to the "Hardware Detail Page." This page will use a query to retrieve and display the details of each hardware order using OrderID.
The text was updated successfully, but these errors were encountered:
Description: Develop the backend model for teams and implement functions to query and edit the team name and orders. You can use random strings for UserIDs and HardwareIDs for now. You can refer to this PR for details on how to setup models with firebase.
Below is an example of the models associated with the team page:
Team Model:
OrderItem Model
Backend Queries & Functions:
Edit Team Name:
Manage Hardware Orders:
View Hardware Order Status:
Frontend Displays:
Team Members:
Team Name:
Team Orders:
Hardware Details: (This will be done after the hardware page is done)
The text was updated successfully, but these errors were encountered: