How raghava-183/ca-activity-calendar works
Activity Calendar is a shared, read-publicly department calendar with code-gated organiser edits. Visitors view activities, proof links, summaries and printable reports; organisers can attach proofs, update status and notes, and change the calendar. The page retrieves current records through the read API, while edits go through the save API and persist in Neon Postgres. The README documents the page capabilities, but its source was not excerpted, so its internal UI structure and exact request wiring are not shown.
Main entry points: index.html Calendar and organiser UI · _db.js Schema and record access · records.js Read records API · save.js Save and edit API
Components 8
Calendar experience
- Calendar and organiser UI
public/index.html - Summary and report
public/index.html
API handlers
- Read records API
api/records.js - Save and edit API
api/save.js
Persistence
- Schema and record access
api/_db.js
Other components
- Visitor or organiser
- Neon Postgres
- Google Drive proofs
Connections 8
- Visitor or organiser → Calendar and organiser UI: opens
README.md - Calendar and organiser UI → Read records API: fetches records
README.md - Calendar and organiser UI → Save and edit API: submits edits
README.md - Calendar and organiser UI → Summary and report: shows
README.md - Visitor or organiser → Google Drive proofs: opens proof links
README.md - Read records API → Schema and record access: reads records
api/records.js - Save and edit API → Schema and record access: writes and rereads
api/save.js - Schema and record access → Neon Postgres: queries
api/_db.js