Skip to content

Auth API #57

@horororok

Description

@horororok

axios 인스턴스를 이용한 로그인/회원가입 api입니다.

회원가입

  • 400error 이미 존재하는 이메일
  • 500error 서버 내부 오류(이메일은 같으나 이름이 같은 경우 발생하는 것으로 보임, 문서에 설명이 없어서 불명확)
  • 기타 에러

로그인

  • 400error 이메일 또는 비밀번호 불일치
  • 500error 서버 내부 오류
  • 기타 에러

테스트

  • /test/auth
  • 각 버튼 클릭할 경우 코드에 직접 넣어둔 데이터들 입력됨.
  • 코드 수정해서 시험해보면 됩니다.

에러처리까지 구현하였으니, input 값 연결해서 쓰시면 됩니다.

Metadata

Metadata

Assignees

Labels

📡 APIAPI 관련 기능

Type

No type

Projects

Status

완료

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions