Add internal registry endpoint, self-registration, and workforce sync

- Register internalRoutes at /api/auth/internal (used by management)
- Add registerRoutes for staff self-registration flow
- Add workforce sync job (runs on schedule, fails gracefully if unconfigured)
- Add email.js for registration/invite emails

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-01 20:35:44 +00:00
parent 2d89fd9227
commit f08d53d702
10 changed files with 704 additions and 18 deletions

View file

@ -5,3 +5,5 @@ ADMIN_EMAIL=admin@hotelnumberfour.com
ADMIN_PASSWORD=CHANGE_ME
OFFICE_IP_CHECK=disabled
SESSION_DAYS=30
SETTINGS_URL=http://10.10.10.106:3080
SETTINGS_SECRET=CHANGE_ME_same_as_settings_service