How projectfcal001/third-year-platform works
Study Platform is a browser-based study resource: learners enter the app and access department/subject material, including lecture resources and questions. Its serverless API also handles feedback and OTP verification, stores and reads feedback through Google Sheets, and can produce a daily Telegram report. The tree additionally shows push and webhook endpoints and PWA support. The README is empty, and the sampled excerpts do not show how the app connects to subject data or how push/webhook handlers behave, so those links are omitted rather than inferred.
Main entry points: _feedback-core.js Feedback workflow · _otp.js OTP tools · sheets.js Sheets access · feedback.js Feedback endpoint
Components 25
Learning experience
- Study app
app.js - Departments
datenew/departments.js - Subject indexes
datenew - Subject content
datenew/subjects
Feedback services
- Feedback endpoint
api/feedback.js - Feedback workflow
api/_feedback-core.js - OTP tools
api/_otp.js - Sheets access
api/sheets.js - Cloudflare feedback
functions/api/feedback.js - Feedback workflow
functions/api/_feedback-core.js - OTP tools
functions/api/_otp.js - Sheets access
functions/api/sheets.js - Sheet endpoint
api/sheet.js - Sheets endpoint
api/sheets.js
Messaging and reports
- Daily report
api/daily.js - Webhook endpoint
api/webhook.js - Push sender
api/push-send.js
Offline and notifications
- Push subscription
api/push-subscribe.js - PWA support
pwa.js - Service worker
sw.js
Other components
- Learner
- Google Sheets
- Telegram
- Upstash Redis
- Brevo mail
Connections 13
- Learner → Study app: opens
- Feedback endpoint → Feedback workflow: calls
api/feedback.js - Feedback workflow → OTP tools: uses
api/_feedback-core.js - Feedback endpoint → Sheets access: passes
api/feedback.js - Feedback workflow → Google Sheets: optionally saves
api/_feedback-core.js - Sheets access → Google Sheets: reads and writes
api/sheets.js - Cloudflare feedback → Feedback workflow: calls
functions/api/feedback.js - Cloudflare feedback → Feedback workflow: calls
functions/api/feedback.js - Feedback workflow → OTP tools: uses
functions/api/_feedback-core.js - Daily report → Sheets access: reads
api/daily.js - Daily report → Telegram: sends report
api/daily.js - OTP tools → Upstash Redis: uses
api/_otp.js - OTP tools → Brevo mail: sends codes
api/_otp.js