loreal-sla-calculator/server/package.json
Vadym Samoilenko d1af08786c Add Node.js/Express backend, PostgreSQL, email/password auth, and Docker deployment
- Add Express server (server/) with JWT auth, rate limiting, and all /api/auth/* routes
- Add PostgreSQL schema and migration runner (3 migrations)
- Add email/password login, registration, password reset via Mailgun
- Validate MSAL SSO ID token server-side, upsert user into DB
- Rewrite auth.js: 8-panel auth UI (SSO, login, register, forgot, reset, verify)
- Expand index.html auth overlay with full multi-view auth UI
- Add apiFetch() helper in script.js with auto token refresh
- Add Dockerfile, docker-compose.yml, .dockerignore for containerised deployment
- Add idempotent deploy.sh: git pull, docker build, migrate, copy static to /var/www
- Add .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 19:27:44 +00:00

28 lines
622 B
JSON

{
"name": "loreal-sla-calculator-server",
"version": "1.0.0",
"private": true,
"type": "commonjs",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"migrate": "node db/migrate.js"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"express-rate-limit": "^7.2.0",
"form-data": "^4.0.0",
"jsonwebtoken": "^9.0.2",
"jwks-rsa": "^3.1.0",
"mailgun.js": "^10.2.1",
"pg": "^8.11.5"
},
"devDependencies": {
"nodemon": "^3.1.0"
}
}