How atharv0717/npd-portal works
NPD Portal is a private, per-user workspace for projects, documents, communications and Mahle/customer meetings. Users sign up or sign in through the API, then access their own profile and workspace data; meeting changes can trigger schedule emails, while a scheduled function checks meetings and sends reminders. The README also describes browser-side file viewing, uploads, and pop-up/dashboard notifications, but the public UI source was not sampled, so those capabilities are shown without inferred implementation links. API and reminder relationships are supported by sampled source.
Main entry points: index.html Portal interface · api.mjs Workspace API · reminders.mjs Reminder scheduler · mail.mjs Email composition
Components 16
Identity & Settings
- Signup & sign-in
netlify/functions/api.mjs - Profile & password
netlify/functions/api.mjs
Private Workspace
- Portal interface
public/index.html - Workspace API
netlify/functions/api.mjs - Projects
public/index.html - Documents & files
public/index.html - Communication
public/index.html - Netlify Blobs
Meetings & Reminders
- Meeting records
public/index.html - Dashboard alerts
public/index.html - Reminder scheduler
netlify/functions/reminders.mjs
Notifications
- Email composition
netlify/lib/mail.mjs - SMTP / Gmail
- SMS delivery
netlify/lib/mail.mjs - Twilio
Other components
- Portal user
Connections 19
- Portal user → Portal interface: uses
README.txt - Portal interface → Signup & sign-in: signs in
README.txt - Portal interface → Workspace API: requests workspace
README.txt - Signup & sign-in → Netlify Blobs: stores users
netlify/functions/api.mjs - Workspace API → Netlify Blobs: reads and writes
netlify/functions/api.mjs - Portal interface → Projects: manages
README.txt - Portal interface → Documents & files: views and uploads
README.txt - Portal interface → Communication: manages
README.txt - Portal interface → Meeting records: manages
README.txt - Portal interface → Dashboard alerts: shows
README.txt - Portal interface → Profile & password: updates settings
README.txt - Workspace API → Profile & password: updates profile
netlify/functions/api.mjs - Workspace API → Email composition: sends meeting email
netlify/functions/api.mjs - Workspace API → SMS delivery: sends test SMS
netlify/functions/api.mjs - Reminder scheduler → Netlify Blobs: reads users and meetings
netlify/functions/reminders.mjs - Reminder scheduler → Email composition: sends reminders
netlify/functions/reminders.mjs - Reminder scheduler → SMS delivery: sends reminders
netlify/functions/reminders.mjs - Email composition → SMTP / Gmail: delivers email
netlify/lib/mail.mjs - SMS delivery → Twilio: sends SMS
netlify/lib/mail.mjs