Actions
ClientProject #3044
open[API]: Authentication API (Sign-In & Sign-Up)
Description
Scope:¶
Implement authentication routes with proper validation, sanitization, and handler logic.
Tasks:¶
-
API Routes
- Create
/api/v1/common/auth/sign-inroute. - Create
/api/v1/common/auth/sign-uproute.
- Create
-
Validation
- Add request body validation in
auth.ts. - Use schema validation (e.g.,
zod) for fields likeemail,password, etc.
- Add request body validation in
-
Handler & Sanitization
- Implement handlers for sign-in and sign-up logic.
- Sanitize incoming body data to prevent injection or malformed inputs.
- Ensure error handling with proper response messages.
Updated by Md.Sajib Ahmed 7 months ago
- Status changed from In Progress to Complete
- % Done changed from 0 to 100
Here is the github commit message
Consider validation and input sanitization
Updated by Md.Sajib Ahmed 7 months ago
Review PR and given feedback about of the UI design.
Actions