Endpoint: /auth/signup
Method: POST
Description: 새로운 회원을 생성합니다.
Request Body:
{
"username": "사용자이름",
"userId": "아이디",
"password": "비밀번호"
}
Response:
Endpoint: /auth/login
Method: POST
Description: 로그인하고 JWT 토큰을 발급받습니다.
Request Body
{
"userId": "아이디",
"password": "비밀번호"
}
Response:
{
"token": "JWT 토큰"
}
/diaries
POST