good first issue
仓库指标
- Star
- (3 star)
- PR 合并指标
- (PR 指标待抓取)
描述
Create a POST /api/v1/auth/login endpoint for members to log in. Requirements:
Request body:
{ "email": "string", "password": "string" }
Validate credentials and return:
{ "token": "jwt", "member": { "id": 1, "full_name": "string", "email": "string" } }
Handle invalid credentials with 401 Unauthorized
Add login rate-limiting (optional)