Description
<회원가입>
•
비밀번호 백엔드 검증(특수문자)
•
비밀번호 해시 암호화 저장
•
중복된 이메일 사용 불가
Request
Content-type: application/json
Shell
복사
{
"name": "John",
"email": "john@google.com",
"password": "Password123!",
"birthDate": "1990-01-01",
"favorDrinkType": ["SOJU", "BEER"],
"alarmEnabled": true
}
JSON
복사
Response
HTTP/1.1 200(이후 생략)
{
"id": 1,
"placeName": "서울특별시"(null 가능),
"name": "John",
"email": "john@google.com",
"birthDate": "1990-01-01T00:00:00.000+00:00",
"favorDrinkType": [
"SOJU",
"BEER"
],
"role": "USER",
"alarmEnabled": true,
"imageUrl": null,
"createdAt": "2024-09-03T19:50:58.731+00:00",
"updatedAt": "2024-09-03T19:50:58.731+00:00",
"deletedAt": null
}
JSON
복사
Error
HTTP/1.1 4XX
”에러 메시지”