feat(events): Add script to fetch and display Zoho calendar events

This commit introduces a new script that fetches and normalizes event data from Zoho Calendar using OAuth2. The script makes an API call to retrieve calendar events for the current month. The event data is then processed and formatted to be used by a Nunjucks template.

Key Changes:
- test(dummy-data): Created a dummy calendar and dummy events for development and testing.
- feat(events): Added a new script to fetch event data from Zoho Calendar.
- feat(oauth2): Implemented OAuth2 authentication for secure API access.
- refactor(data): Normalized the fetched data payload for consistency.
- feat(ui): Integrated the normalized data with a Nunjucks template to dynamically populate "event cards" on the community events page.
This commit is contained in:
2025-09-05 22:22:02 -05:00
parent 873f535f25
commit af7e76f01f
21 changed files with 1644 additions and 312 deletions

View File

@@ -3,6 +3,10 @@
"start": "servor --reload"
},
"dependencies": {
"curl": "^0.1.4",
"dotenv": "^17.2.2",
"ical.js": "^2.2.1",
"node-fetch": "^2.7.0",
"servor": "^4.0.2"
},
"devDependencies": {