Skip to content

도메인 & ERD

ashsty edited this page Jul 25, 2024 · 2 revisions


1. Member (사용자 도메인)


  • id
  • userName (github api: login)
  • thumbnailUrl (github api: avatar_url)
  • name
  • email
  • isEmailAccepted
  • attitude
  • profileLink

깃허브 API

{
    "login": "youngsu5582",
    "id": 98307410,
    "node_id": "U_kgDOBdwNUg",
    "avatar_url": "https://avatars.githubusercontent.com/u/98307410?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/youngsu5582",
    "html_url": "https://github.com/youngsu5582",
    "followers_url": "https://api.github.com/users/youngsu5582/followers",
    "following_url": "https://api.github.com/users/youngsu5582/following{/other_user}",
    "gists_url": "https://api.github.com/users/youngsu5582/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/youngsu5582/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/youngsu5582/subscriptions",
    "organizations_url": "https://api.github.com/users/youngsu5582/orgs",
    "repos_url": "https://api.github.com/users/youngsu5582/repos",
    "events_url": "https://api.github.com/users/youngsu5582/events{/privacy}",
    "received_events_url": "https://api.github.com/users/youngsu5582/received_events",
    "type": "User",
    "site_admin": false,
    "name": null,
    "company": "@woowacourse 6th BE",
    "blog": "",
    "location": null,
    "email": null,
    "hireable": null,
    "bio": null,
    "twitter_username": null,
    "public_repos": 54,
    "public_gists": 0,
    "followers": 53,
    "following": 69,
    "created_at": "2022-01-24T07:27:03Z",
    "updated_at": "2024-05-28T05:33:41Z"
}

2. Room (리뷰방 도메인)


  • id
  • title
  • content
  • matchingSize
  • repositoryLink
  • thumbnailLink
  • keyword
  • currentParticipantSize
  • limitedParticipantSize
  • manager
  • recruitmentDeadline
  • reviewDeadline
  • classification
  • status

{
	id: 1, // default, auto-increment
	title: "자바 레이싱 카 - TDD",
	content: "TDD를 배우고 싶은 자 나에게로",
	matchingSize: 3, // 내가 리뷰해야 하는 상호 인원 수, 총 인원 4명
	repositoryLink: "https://github.com/example/java-racingcar",
	thumbnailLink:
	  "https://gongu.copyright.or.kr/gongu/wrt/cmmn/wrtFileImageView.do?wrtSn=13301655&filePath=L2Rpc2sxL25ld2RhdGEvMjAyMS8yMS9DTFMxMDAwNC8xMzMwMTY1NV9XUlRfMjFfQ0xTMTAwMDRfMjAyMTEyMTNfMQ==&thumbAt=Y&thumbSe=b_tbumb&wrtTy=10004",
	keywords: ["TDD", "클린코드", "자바"],
	currentParticipantSize: 15,
	maximumParticipantSize: 20,
	managerId: 1,
	recruitmentDeadline: "2024-07-30T15:00",
	reviewDeadline: "2024-08-10T23:59",
        classification: "be", 
        status: "OPENED"
}

3. MatchResult (매칭 결과 도메인)


  • id
  • roomId
  • reviewer
  • reviewee
  • prLink
  • reviewStatus

4. Participation (방 참여 여부 도메인)


  • Id
  • roomId
  • memberId
Clone this wiki locally