Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

계정 관련 API 구현 #1

Open
4 tasks
r4k0nb4k0n opened this issue Jan 29, 2021 · 0 comments · May be fixed by #8
Open
4 tasks

계정 관련 API 구현 #1

r4k0nb4k0n opened this issue Jan 29, 2021 · 0 comments · May be fixed by #8
Assignees
Labels
enhancement New feature or request

Comments

@r4k0nb4k0n
Copy link
Member

Collection

{
	"_id": string,
	// 로컬 계정은 비밀번호 해싱해서 저장
	"hashedPassword": string,
  "email": string,
	"createdAt": date, // 가입한 당시 시간 저장
// 다른 플랫폼 계정 API 이용 시
	login_API:
	{
		// 카카오는 그저 예시인 것!
		"kakao": {
			"_id": string,
			"accessToken": string
		},
		// ... 다른 플랫폼 여러 개 이용할 시 추가
	}
}

API

  • /signin - POST
  • /logout - POST
  • /signup - GET
  • /signup - POST

주의사항

필요에 따라 기획했던 DB 모델링이나 API를 따르지 않고 수정할 경우, Notion 문서도 갱신 부탁드립니다.

@r4k0nb4k0n r4k0nb4k0n added the enhancement New feature or request label Jan 29, 2021
@r4k0nb4k0n r4k0nb4k0n added this to the 필수 REST API milestone Jan 29, 2021
@r4k0nb4k0n r4k0nb4k0n linked a pull request Feb 8, 2021 that will close this issue
r4k0nb4k0n added a commit that referenced this issue Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants