Skip to content

fix: Update DB and backend endpoints for help request form#186

Merged
mehmetcangurbuz08 merged 1 commit into
developmentfrom
fix/help-request-endpoints
Apr 2, 2026
Merged

fix: Update DB and backend endpoints for help request form#186
mehmetcangurbuz08 merged 1 commit into
developmentfrom
fix/help-request-endpoints

Conversation

@AlperKartkaya

@AlperKartkaya AlperKartkaya commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #184

With the changes to be applied, the backend should provide the necessary endpoints for the simple help request form below:

Noting that the formatting for the phone number is different than the format the frontend team suggested.

{
  "helpTypes": ["first_aid", "fire_brigade"],
  "otherHelpText": "",
  "affectedPeopleCount": 3,
  "riskFlags": ["fire", "electric_hazard"],
  "vulnerableGroups": ["children", "pregnant"],
  "description": "Apartment entrance blocked, one person bleeding.",
  "bloodType": "A+",
  "location": {
    "country": "turkiye",
    "city": "istanbul",
    "district": "besiktas",
    "neighborhood": "levazim",
    "extraAddress": "Bina B, 3. kat, arka giris"
  },
  "contact": {
    "fullName": "Ayse Yilmaz",
    "phone": "5053217788",
    "alternativePhone": "5053217788"
  },
  "consentGiven": true
}

@mehmetcangurbuz08 mehmetcangurbuz08 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid. Merging.

@mehmetcangurbuz08
mehmetcangurbuz08 merged commit 0f3e62c into development Apr 2, 2026
@mehmetcangurbuz08
mehmetcangurbuz08 deleted the fix/help-request-endpoints branch April 2, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants