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
Goal:
Create the activities table and develop API endpoints for managing activity entries.
Requirements:
Create Activities Table with Basic Structure:
Ensure each activity entry is linked to a dailyRecordID to associate it with a specific day.
For now, use boolean columns to represent individual activities (e.g., "Exercise", "Reading", "Meditation").
Activities API - Create Activity Entry:
Allow users to create an activity entry linked to a daily record for the current date.
Include a restriction to ensure activity entries are associated only with a valid dailyRecordID.
there can only be one activity entry per dailyrecord
Activities API - Edit Activity Entry:
Allow users to edit an existing activity entry, updating activity statuses as needed.
Activities API - Delete Activity Entry:
Implement functionality to delete an activity entry by id.
Expected Outcome:
An activities table with API endpoints for creating, editing, and deleting activity entries, ensuring they are linked to a daily record for the current date.
The text was updated successfully, but these errors were encountered:
[TASK-15] Implement Activities Table and API
Goal:
Create the
activities
table and develop API endpoints for managing activity entries.Requirements:
dailyRecordID
to associate it with a specific day.Activities API - Create Activity Entry:
dailyRecordID
.Activities API - Edit Activity Entry:
Activities API - Delete Activity Entry:
id
.Expected Outcome:
An
activities
table with API endpoints for creating, editing, and deleting activity entries, ensuring they are linked to a daily record for the current date.The text was updated successfully, but these errors were encountered: