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

[NDD-35] Auth api 구현( 8h/5h ) #16

Merged
merged 43 commits into from
Nov 7, 2023
Merged

[NDD-35] Auth api 구현( 8h/5h ) #16

merged 43 commits into from
Nov 7, 2023

Commits on Nov 6, 2023

  1. feat: 모든 엔티티에서 상속받아 사용할 수 있는 DefaultEntity 생성

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    7fa5828 View commit details
    Browse the repository at this point in the history
  2. feat: DefaultEntity를 상속받는 Member 객체 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    b7597f1 View commit details
    Browse the repository at this point in the history
  3. feat: 회원을 DB에 저장하고 조회하기 위한 리포지토리 모듈 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    58e7087 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d440340 View commit details
    Browse the repository at this point in the history
  5. refactor: process.env를 사용하기 위한 dotenv/config추가

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    f561374 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b8a82e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2d6d15c View commit details
    Browse the repository at this point in the history
  8. feat: member모듈에서 리포지토리를 가져와 사용하는 Auth 모듈 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    9528733 View commit details
    Browse the repository at this point in the history
  9. feat: memberRepository를 외부에서 받아와 사용하는 auth 모듈 추가

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    4d84bea View commit details
    Browse the repository at this point in the history
  10. build: oauth를 위한 passport 라이브러리 추가

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    247ca52 View commit details
    Browse the repository at this point in the history
  11. feat: passport strategy를 통해 OAuth에서 회원 정보를 불러오는 플로우 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    51108d2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7acf8ec View commit details
    Browse the repository at this point in the history
  13. feat: Entity의 생성 로직 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    edc635d View commit details
    Browse the repository at this point in the history
  14. feat: OAuth에서 회원 존재 여부를 검증하기 위한 리포지토리 로직 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    ad88c81 View commit details
    Browse the repository at this point in the history
  15. feat: 로그인 로직 함수 추가 && 내부에 워크플로우 정리

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fc10b8a View commit details
    Browse the repository at this point in the history
  16. feat: 회원가입을 위해서 DB 조회후 검증하는 로직 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    c6f9f26 View commit details
    Browse the repository at this point in the history
  17. feat: 회원이 없을때 회원을 생성하는 로직 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    6b08002 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    acb0ddc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    58f238e View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. chore: release drafter 설정 추가 (#4)

    - be fe 모두 하나의 카테고리로 관리
    - dev 브랜치에 머지될때 실행
    Yoon-Hae-Min authored and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    c43e63d View commit details
    Browse the repository at this point in the history
  2. feat: 상대 경로 설정 (#6)

    adultlee authored and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    9a23807 View commit details
    Browse the repository at this point in the history
  3. [NDD-58] 테마 시스템 정의 (3h/3h) (#9)

    * feat: emotion ThemeProvider 추가하고 color, typography 추가
    
    - colorChips에 있는 색상은 프로젝트에서 바로 사용하지 않습니다.
    - colorChips에 있는 색상을 활용해서 color 시스템을 구성합니다.
    
    * feat: emotion global 스타일에 resetCss 추가
    
    * feat: emotion global 스타일에 pretendard 웹폰트로 적용
    
    * rename: resetCss -> _global 로 이름 변경
    
    * chore: 경로 별칭에 styles 디렉터리 추가
    milk717 authored and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    79214b3 View commit details
    Browse the repository at this point in the history
  4. docs: 백엔드 CI툴 구현 (#5) (#7)

    Co-authored-by: JangAJang <99702271+JangAJang@users.noreply.github.com>
    quiet-honey and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    4a13f9d View commit details
    Browse the repository at this point in the history
  5. feat: JWT를 구현하기 위한 모듈 추가

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    8fef2b7 View commit details
    Browse the repository at this point in the history
  6. fix: 충돌 코드 수정

    JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    6ca5c3c View commit details
    Browse the repository at this point in the history
  7. [NDD-76] 테마 시스템에 그림자 추가 (0.3 / 1h) #10

    * feat: 테마 시스템에 shadow 추가
    milk717 authored and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    23c165d View commit details
    Browse the repository at this point in the history
  8. Squashed commit of the following:

    commit 5b6eac6
    Author: Sumin <57657868+milk717@users.noreply.github.com>
    Date:   Tue Nov 7 13:15:08 2023 +0900
    
        [NDD-76] 테마 시스템에 그림자 추가 (0.3 / 1h) #10
    
        * feat: 테마 시스템에 shadow 추가
    
    commit fd35fdf
    Author: quiet-honey <99426344+quiet-honey@users.noreply.github.com>
    Date:   Tue Nov 7 12:19:13 2023 +0900
    
        docs: 백엔드 CI툴 구현 (#5) (#7)
    
        Co-authored-by: JangAJang <99702271+JangAJang@users.noreply.github.com>
    
    commit dfc1fd9
    Author: Sumin <57657868+milk717@users.noreply.github.com>
    Date:   Mon Nov 6 22:25:34 2023 +0900
    
        [NDD-58] 테마 시스템 정의 (3h/3h) (#9)
    
        * feat: emotion ThemeProvider 추가하고 color, typography 추가
    
        - colorChips에 있는 색상은 프로젝트에서 바로 사용하지 않습니다.
        - colorChips에 있는 색상을 활용해서 color 시스템을 구성합니다.
    
        * feat: emotion global 스타일에 resetCss 추가
    
        * feat: emotion global 스타일에 pretendard 웹폰트로 적용
    
        * rename: resetCss -> _global 로 이름 변경
    
        * chore: 경로 별칭에 styles 디렉터리 추가
    
    commit 383fb3c
    Author: 이성인 <seoungin1228@gmail.com>
    Date:   Mon Nov 6 16:58:38 2023 +0900
    
        feat: 상대 경로 설정 (#6)
    
    commit 2cd35c0
    Author: YoonHaeMin <yunhatmi@gachon.ac.kr>
    Date:   Mon Nov 6 14:42:13 2023 +0900
    
        chore: release drafter 설정 추가 (#4)
    
        - be fe 모두 하나의 카테고리로 관리
        - dev 브랜치에 머지될때 실행
    JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    81143da View commit details
    Browse the repository at this point in the history
  9. feat: token을 저장하고 access token으로 조회하는 repository 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    15a54bb View commit details
    Browse the repository at this point in the history
  10. refactor: jwt -> token으로 모듈명 수정

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    e07067f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c9fe4f4 View commit details
    Browse the repository at this point in the history
  12. feat: 로그인 요청시에 토큰을 반환하도록 동작하는 동작 기능 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    774ccdc View commit details
    Browse the repository at this point in the history
  13. refactor: 기존 토큰 응답에서 Bearer prefix를 담도록 기능 수정

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    1861e0f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b9c8293 View commit details
    Browse the repository at this point in the history
  15. docs: swagger문사화를 위한 데코레이터 추가

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    5200b60 View commit details
    Browse the repository at this point in the history
  16. feat: 로그아웃을 위한 비즈니스 로직 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    c89730e View commit details
    Browse the repository at this point in the history
  17. feat: Guard에서 사용하기 위한 jwt strategy 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    fe20199 View commit details
    Browse the repository at this point in the history
  18. feat: 로그아웃에 대한 전체 플로우 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    4b1a730 View commit details
    Browse the repository at this point in the history
  19. style: lint 처리

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    0cd5cb8 View commit details
    Browse the repository at this point in the history
  20. feat: 토큰의 상황에 대한 커스텀 Exception구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    cce1769 View commit details
    Browse the repository at this point in the history
  21. feat: 토큰 재발행을 위한 비즈니스 로직 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    94ae57a View commit details
    Browse the repository at this point in the history
  22. feat: 토큰을 재발행해 json으로 클라이언트에 반환하는 기능 구현

    Co-authored-by: quiet-honey <skap0329@naver.com>
    JangAJang and quiet-honey committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    0e267c1 View commit details
    Browse the repository at this point in the history
  23. [NDD-75] foundation 컴포넌트 디자인 구현 (1h/1h) (#11)

    * feat: element의 기본 props를 지정해주는 유틸 타입 추가
    
    * design: Avatar 컴포넌트 생성
    
    - theme을 이용해서 색상 정의
    - 세부 디자인은 외부에서 주입할 수 있도록 구현
    
    * feat: InputArea 컴포넌트 생성
    
    - theme을 이용해서 색상 정의
    - 세부 디자인은 외부에서 주입할 수 있도록 구현
    
    * feat: color system추가
    
    - 버튼 hover시 색상 추가
    - 색상 값에 as const를 붙여 hove시 색상 값이 노출 되도록 설정
    
    * feat: button 컴포넌트 생성
    
    - theme을 이용해서 색상 정의
    - 세부 디자인은 외부에서 주입할 수 있도록 구현
    
    * feat: Box 컴포넌트 생성
    
    - theme을 이용해서 색상 정의
    - 세부 디자인은 외부에서 주입할 수 있도록 구현
    Yoon-Hae-Min authored and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    e2d4d3a View commit details
    Browse the repository at this point in the history
  24. [NDD-57] MSW로 서버 mocking하기 (5h/5h) (#12)

    * chore: msw 세팅 추가
    
    * test: msw 실행하도록 설정
    
    * feat: api 엔드포인트 상수화
    
    - id가 들어가야 하는 경우 함수를 이용해 동적으로 상수 생성
    
    * test: member api mocking 추가
    
    * fix: api 상수에서 파라미터를 선택적으로 사용하려면 ?를 추가해야함
    
    * test: question api mocking 추가
    
    * test: answer api mocking 추가
    
    * test: handler 연결해서 하나로 통합
    
    * test: dummy endpoint설정
    
    논의 중인 내용은 작성 하지 않음
    Yoon-Hae-Min authored and JangAJang committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    3ea7018 View commit details
    Browse the repository at this point in the history