flow-pie / flow-pie/chamaa.api
Implement Member Login Endpoint
Open
good first issue
- Dominant language
- HTML
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
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)
Contributor guide
Assessment
This issue has not been assessed yet.