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

@ -12,6 +12,7 @@
"bcryptjs": "^2.4.3",
"fastify": "^4.28.1",
"jose": "^5.9.6",
"nodemailer": "^6.10.1",
"pg": "^8.13.1"
}
}