Skip to content

BE rest and mono validation middleware #253

@KazbekSungurov

Description

@KazbekSungurov

3 sp
Add middleware to handlers for data validation. MONO and REST
For TT:
Monolith:
Login now checks data :

  1. email - is email, empty, SQL
  2. password - empty, SQL, len 5-25
    Rest:
    Login now checks data :
  3. email - is email, empty, SQL
  4. password - empty, SQL, len 5-25
  5. If user already logged in (JWT token in Headers)
    Registration:
  6. All users field (info in Postman doc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendextraimportantHigh priority changes that affect architecture, security or other global aspectsmar14-mar26Sprint interval

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions