Summary of What Needs to be Done
The Interview Prep frontend defines GOOGLE_CALENDAR API paths in frontend/src/utils/apiPaths.js (CONNECT, CALLBACK, STATUS, EVENTS), but the backend has no mounted /api/google-calendar/* routes. Every calendar action always fails with a 404.
Changes that Need to be Made
- Create
backend/routes/googleCalendarRoutes.js with routes for:
GET /connect — initiate Google OAuth2 flow (stub or real)
GET /callback — handle OAuth2 callback
GET /status — check if user has connected calendar
POST /events — sync/save events
- Mount the router in
backend/server.js.
- Add appropriate environment variable placeholders.
Impact that it would Provide
Makes the Google Calendar connect/sync UI functional instead of always failing with 404 errors. Provides a foundation for real OAuth2 integration.
Note: Please assign this issue to the tmdeveloper007 account.
Summary of What Needs to be Done
The Interview Prep frontend defines
GOOGLE_CALENDARAPI paths infrontend/src/utils/apiPaths.js(CONNECT, CALLBACK, STATUS, EVENTS), but the backend has no mounted/api/google-calendar/*routes. Every calendar action always fails with a 404.Changes that Need to be Made
backend/routes/googleCalendarRoutes.jswith routes for:GET /connect— initiate Google OAuth2 flow (stub or real)GET /callback— handle OAuth2 callbackGET /status— check if user has connected calendarPOST /events— sync/save eventsbackend/server.js.Impact that it would Provide
Makes the Google Calendar connect/sync UI functional instead of always failing with 404 errors. Provides a foundation for real OAuth2 integration.
Note: Please assign this issue to the
tmdeveloper007account.