PocketBase Collections
The app stores its data in PocketBase collections. The standard PocketBase record API is available for each collection:
| Collection | Purpose | Base path |
|---|---|---|
| tasks | Tasks with dates, labels, assignees, flags, subtasks, recurring rules and sprint/project links. | /api/collections/tasks/records |
| items | Shopping list items (groceries) with quantity, shop and priority. | /api/collections/items/records |
| notes | Free-form notes, optionally pinned and linked to tasks. | /api/collections/notes/records |
| labels | Labels with color and visibility (private / shared / family). | /api/collections/labels/records |
| shops | Named shops, used by shopping items. | /api/collections/shops/records |
| sprints | Sprint planning blocks with start/end date, duration and status. | /api/collections/sprints/records |
| calendar_events | Calendar events, optionally linked to tasks and recurring rules. | /api/collections/calendar_events/records |
| reminders | Reminders with a reminder_time and repeat_interval. | /api/collections/reminders/records |
| rewards | Family rewards (points, earned_by, awarded_by). | /api/collections/rewards/records |
| goals | Family goals (points_required, target_user, completed). | /api/collections/goals/records |
| projects | Projects grouping tasks (title, color, status, task_ids). | /api/collections/projects/records |
| app_settings | Per-user application settings (theme, language, sprint defaults). | /api/collections/app_settings/records |
| families | Family record (name, created_by). | /api/collections/families/records |
Each collection supports the standard PocketBase record operations:
- GET /api/collections/{name}/records — list records (with filters, sorting, pagination)
- GET /api/collections/{name}/records/{id} — get one record
- POST /api/collections/{name}/records — create a record
- PATCH /api/collections/{name}/records/{id} — update a record
- DELETE /api/collections/{name}/records/{id} — delete a record
⚠️ Visibility follows the app's rules: records are scoped to your family; private or label-restricted items are only visible to their owner and the people they are shared with. The users collection is intentionally not documented here.