<aside> 🤖 공지사항

바로가기

회원 계정 모음

User (회원)

| URL | 기능 | method | Request- headers (토큰) | Request- Body | | --- | --- | --- | --- | --- | | http://localhost:3000/user/info | 유저 정보 조회 (이메일, 프로필이미지 URL, 닉네임) | [GET] | O | - | | http://localhost:3000/user/profile-image | 프로필 이미지 url 조회 | [GET] | O | - | | http://localhost:3000/user/profile-image-signed-url/**:fileName [dev#47]** | 프로필 이미지 signedURL 불러오기 | [GET] | O | - | | http://localhost:3000/user/nickname | 닉네임 조회 | [GET] | O | - | | http://localhost:3000/scrap | 스크랩한 게시물 조회 (좋아요 버튼 누른 게시물) | [GET] | O | - | | http://localhost:3000/user/nickname | 닉네임 변경 | [POST] | O | {
”nickname”: “swordmaster” } | | http://localhost:3000/user/profile-image | 프로필 이미지 변경 | [POST] | O | {
”imageUrl”: “https://fake-image-host.com/image123.jpg” } |


auth (로그인 인증 인가)

| URL | 기능 | method | Request- headers (토큰) | Request- Body | | --- | --- | --- | --- | --- | | http://localhost:3000/auth/sign-up | 회원가입 | [POST] | - | { “email”: “[email protected]”, “password”: “ho21234” } | | http://localhost:3000/auth/token-verification | 토큰 검증 [테스트용] | [GET] | O | - (토큰 헤더에 넣어주면 내용이 출력됨) | | http://localhost:3000/auth/sign-in | 로그인 | [POST] | - | { email : "[email protected]" password : "1234" } | | http://localhost:3000/auth/sign-in [미완] | 구글 로그인 [미완] | [POST] | - | | | http://localhost:3000/auth/sign-in/kakao [미완] | 카카오 로그인 [미완] | [POST] | - | | | http://localhost:3000/auth/sign-in/naver [미완] | 네이버 로그인 [미완] | [POST] | - | | | http://localhost:3000/auth/withdraw | 회원탈퇴 | [DELETE] | O | |