**POST** /create-user
새로운 사용자 정보를 데이터베이스에 저장하여 회원가입 처리.
{
"email": "[email protected]",
"nickname": "JohnDoe",
"birthday": "1990-01-01",
"gender": "male"
}
{
"uid": 1,
"email": "[email protected]",
"nickname": "JohnDoe",
"birthday": "1990-01-01",
"gender": "male"
}
{
"error": "Validation failed or email already exists."
}
**POST** /favorite-medicine
사용자가 특정 약을 즐겨찾기에 추가하도록 처리.