Files
Zumri-Backend/package.json
T
Sathira Sri Sathara 9d3d431416 feat: implement identity and security features
- Added account types and privileged account types constants.
- Created admin user controller for updating user security fields.
- Developed role assignment controller for managing user roles.
- Implemented validation middleware for request schemas.
- Defined user role and auth session models for database interactions.
- Created services for authentication, email notifications, and OTP handling.
- Developed OAuth service for Google and Apple authentication.
- Added JWT utility functions for token generation and verification.
- Implemented comprehensive tests for authentication, session management, and password policies.
- Created migration for updating user schema and adding new tables for auth sessions and user identities.
2026-09-03 13:56:18 +05:30

72 lines
1.8 KiB
JSON

{
"name": "zumri-backend",
"version": "1.0.0",
"main": "app.js",
"scripts": {
"dev": "nodemon server.js",
"start": "node server.js",
"worker": "node app/workers/index.js",
"seed": "node app/seeders/index.js",
"test": "jest",
"test:unit": "jest tests/unit --runInBand",
"test:integration": "jest tests/integration --runInBand",
"check:syntax": "node scripts/check-syntax.js",
"db:migrate": "sequelize-cli db:migrate",
"db:migrate:status": "sequelize-cli db:migrate:status",
"db:migrate:undo": "sequelize-cli db:migrate:undo"
},
"engines": {
"node": ">=22 <23"
},
"keywords": [
"ZUMRI",
"ZUMRI Backend"
],
"author": "Niolla PVT (LTD)",
"license": "ISC",
"description": "ZUMRI Backend",
"jest": {
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/tests/setupEnv.js"
]
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1021.0",
"@aws-sdk/s3-request-presigner": "^3.1021.0",
"@bull-board/api": "^6.20.6",
"@bull-board/express": "^6.20.6",
"axios": "^1.17.0",
"bcrypt": "^6.0.0",
"bullmq": "^5.71.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.6",
"dotenv": "^17.2.4",
"ejs": "^3.1.10",
"exceljs": "^4.4.0",
"express": "^5.2.1",
"express-rate-limit": "^8.7.0",
"google-auth-library": "^11.0.2",
"helmet": "^8.3.0",
"ioredis": "^5.10.1",
"jsonwebtoken": "^9.0.3",
"morgan": "^1.10.1",
"multer": "^2.1.1",
"mysql2": "^3.17.0",
"node-cron": "^4.5.0",
"nodemailer": "^8.0.1",
"nodeman": "^1.1.2",
"pdfmake": "^0.2.7",
"puppeteer": "^24.43.1",
"sequelize": "^6.37.7",
"uuid": "^11.1.1",
"zod": "^4.5.4"
},
"devDependencies": {
"jest": "^30.4.2",
"nodemon": "^3.1.14",
"sequelize-cli": "^6.6.5",
"supertest": "^7.2.2"
}
}