← RETURN TO DASHBOARD

PROJECT_FILE // 2026

Calendar.AI

Self-service meeting booking straight into my Google Calendar

FastAPIGoogle Calendar APIOAuth 2.0Pydantic

OVERVIEW

A scheduling service that reads my real calendar and writes to it. It computes genuinely free slots by intersecting my declared weekly availability with live free/busy data from the Google Calendar API, then creates a confirmed event with a Meet link and emails the attendee. No third-party scheduling SaaS in the loop.

REQUEST FLOW

  1. Request for availability
  2. Weekly availability windows — declared per weekday
  3. Google Calendar freebusy query — next 14 days
  4. Overlap filter — drop busy and past slots
  5. Free slots out
  6. Booking request — re-validated against live availability
  7. Calendar event created with Google Meet link
  8. Invite emailed to attendee

WHAT MAKES IT INTERESTING

Availability is computed, not configured twice

Slots are derived by subtracting live free/busy data from declared availability windows, so a meeting booked elsewhere immediately disappears from the options here. There is no second calendar to keep in sync.

Bookings are re-validated server-side

The requested slot is checked against live availability again at booking time, not just at display time. A stale browser tab or a hand-crafted request cannot book outside my hours or double-book an existing event.

Server-side OAuth, no interactive flow

Runs headless on a refresh token supplied through the environment. The interactive consent flow is a local one-off script, so the deployed service never needs a browser.

Timezone-correct by construction

All slot arithmetic happens in a single explicit zone (Asia/Kolkata) with timezone-aware datetimes, and events carry an explicit timeZone field, so no slot silently shifts an hour.

SKILLS DEMONSTRATED

Google Calendar APIOAuth 2.0FastAPITimezone handlingAPI design