Skip to content

Task 1.2: Calendar Sync Feature #14

@scrollinondubs

Description

@scrollinondubs

Description

Develop functionality to sync bookings with staff calendars and detect conflicts.

Epic

Part of Epic 1: Automated Scheduling (#12)

Technical Details

  • Files: /app/api/calendar/route.ts, /lib/calendar.ts
  • Framework: Next.js API Routes with OAuth 2.0
  • Calendar Integration: Google Calendar API, iCal format support
  • Conflict Detection: PostgreSQL transaction-based conflict checking

Acceptance Criteria

  • Accurate reflection of staff availability
  • Conflict alerts generated correctly
  • Sync appointments to staff calendars
  • Support timezone conversions properly
  • Handle OAuth authentication flow

Dependencies

  • Database setup (Task 4.2)

Estimated Effort

30 hours

Priority

P0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions