Local desktop admin + public domain for students, sync, and WhatsApp webhooks.
npm run tauri:build| Role | Default password | |
|---|---|---|
| Admin | admin@classmate.local | admin123 |
| Teacher | teacher@classmate.local | teacher123 |
| Student | student@classmate.local | student123 |
| Parent | parent@classmate.local | parent123 |
Point DNS A record cm → your server IP (Ionos VPS).
This server runs classmate-server on port 8766. nginx proxies:
/api/sync/ — peer backup sync/api/whatsapp/webhook — Meta callbacks/hub/ — Class Hub student PWA (when hub is running on port 8765)/download — this download pageIn the desktop app: Settings → LAN peer sync → Public base URL = https://cm.codes-ai.uk, hub path /hub.
Then run certbot --nginx -d cm.codes-ai.uk on the server for HTTPS.
systemctl status classmate-server (always on)https://cm.codes-ai.uk/api/sync/ and header tokenSource: github.com/avaisqarni365/classmate · Download