Files
aiworker-backend/package.json
Hector Ros 1dc0ab515d
All checks were successful
Build and Push Backend / build (push) Successful in 20s
Add authentication system with session-based auth
- Implement register, login, logout, and me endpoints
- Use bcryptjs for password hashing
- HTTPOnly secure cookies for sessions (Lucia Auth pattern)
- Users and sessions tables with proper relations
- 7-day session duration with auto-expiry

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 01:56:25 +01:00

50 lines
1.3 KiB
JSON

{
"name": "aiworker-backend",
"version": "1.0.0",
"module": "src/index.ts",
"type": "module",
"private": true,
"scripts": {
"dev": "bun --watch src/index.ts",
"start": "bun src/index.ts",
"build": "bun build src/index.ts --outdir dist --target bun",
"db:generate": "drizzle-kit generate",
"db:migrate": "bun src/db/migrate.ts",
"db:studio": "drizzle-kit studio",
"lint": "eslint src/**/*.ts",
"format": "prettier --write src/**/*.ts"
},
"devDependencies": {
"@types/bcryptjs": "^3.0.0",
"@types/bun": "latest",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.0.9",
"drizzle-kit": "^0.31.8",
"eslint": "^9.39.2",
"prettier": "^3.8.0",
"tsx": "^4.21.0"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@kubernetes/client-node": "^1.4.0",
"@modelcontextprotocol/sdk": "^1.25.2",
"axios": "^1.13.2",
"bcryptjs": "^3.0.3",
"bullmq": "^5.66.5",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"drizzle-orm": "^0.45.1",
"express": "^5.2.1",
"ioredis": "^5.9.2",
"jsonwebtoken": "^9.0.3",
"mysql2": "^3.16.1",
"socket.io": "^4.8.3",
"winston": "^3.19.0",
"zod": "^4.3.5"
}
}