Add authentication system with session-based auth
All checks were successful
Build and Push Backend / build (push) Successful in 20s

- 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>
This commit is contained in:
Hector Ros
2026-01-20 01:56:25 +01:00
parent 5672127593
commit 1dc0ab515d
12 changed files with 1226 additions and 1 deletions

View File

@@ -8,6 +8,13 @@
"when": 1768858601280,
"tag": "0000_charming_stature",
"breakpoints": true
},
{
"idx": 1,
"version": "5",
"when": 1768868010676,
"tag": "0001_opposite_warbird",
"breakpoints": true
}
]
}