Project

General

Profile

Actions

ClientProject #3044

open

[API]: Authentication API (Sign-In & Sign-Up)

Added by Md.Sajib Ahmed 7 months ago. Updated 7 months ago.

Status:
Complete
Priority:
High
Target version:
Start date:
09/01/2025
Due date:
% Done:

100%

Estimated time:
1:00 h
Spent time:

Description

Scope:

Implement authentication routes with proper validation, sanitization, and handler logic.

Tasks:

  1. API Routes

    • Create /api/v1/common/auth/sign-in route.
    • Create /api/v1/common/auth/sign-up route.
  2. Validation

    • Add request body validation in auth.ts.
    • Use schema validation (e.g., zod) for fields like email, password, etc.
  3. 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.
Actions #1

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

Actions #2

Updated by Md.Sajib Ahmed 7 months ago

Review PR and given feedback about of the UI design.

Actions

Also available in: Atom PDF