- **Description:** Implement authentication REST endpoints - **Activities:** - POST `/api/auth/register`: Validate input, hash password, create User record via Prisma. - POST `/api/auth/login`: Verify credentials, generate JWTs, return tokens + user info. - POST `/api/auth/logout`: Add current token to Redis blacklist. - POST `/api/auth/refresh-token`: Validate refresh token, issue new access token. - Create endpoints for password reset flow (forgot/reset password). - **Deliverables:** Auth controllers and routes, complete login/register flow
/api/auth/register: Validate input, hash password, create User record via Prisma./api/auth/login: Verify credentials, generate JWTs, return tokens + user info./api/auth/logout: Add current token to Redis blacklist./api/auth/refresh-token: Validate refresh token, issue new access token.