- 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>
18 lines
372 B
JSON
18 lines
372 B
JSON
{
|
|
"name": "hnf-auth",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "node --watch src/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^9.4.0",
|
|
"@fastify/cors": "^9.0.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"fastify": "^4.28.1",
|
|
"jose": "^5.9.6",
|
|
"nodemailer": "^6.10.1",
|
|
"pg": "^8.13.1"
|
|
}
|
|
}
|