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

[7주차] SNIFF 미션 제출합니다. #3

Open
wants to merge 75 commits into
base: main
Choose a base branch
from

Commits on Nov 20, 2023

  1. init: create next app

    oooppq committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    8712e4d View commit details
    Browse the repository at this point in the history
  2. init: 배포 자동화 설정

    oooppq committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    d653601 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. init: 의존성 추가

    oooppq committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    03439ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c6b4d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31a3550 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    d6aeedf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4aff6c View commit details
    Browse the repository at this point in the history
  3. refactor: nav bar 디자인 반응형으로 변경 및 이미지 사용방식 변경

    기존에는 svgr을 사용하여 svg 파일을 컴포넌트 형태로 사용했는데, 세오스 로고 하나 때문에
    의존성 하나 추가하는 것도 비효율적이고, 반응형으로 크기를 변경시키기에 불편해서 png + next/Image로
    이미지를 다루기로 변경했다.
    oooppq committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    5a24dac View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    a6f3ee9 View commit details
    Browse the repository at this point in the history
  2. chore: nav bar height 고정

    oooppq committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    93090a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dbcd659 View commit details
    Browse the repository at this point in the history
  4. feat: navbar 라우팅 설정

    oooppq committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    bc45614 View commit details
    Browse the repository at this point in the history
  5. chore: pr template 추가

    oooppq committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    2eda40e View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1 from oooppq/feature/home

    [feat] navbar 및 홈 페이지 레이아웃 적용
    oooppq authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    8abd85e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8154eae View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    03a34f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d219b8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    faa822e View commit details
    Browse the repository at this point in the history
  4. refactor: authInput 속성 변경

    password input 처리와 input name을 설정하기 위해 속성을 변경했다.
    oooppq committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    3f38d11 View commit details
    Browse the repository at this point in the history
  5. feat: 로그인 로직 추가

    서버에 로그인 요청을 한 후, response 값을 쿠키에 저장하도록 구현했다.
    서버 사이드에서는 localStorage에 접근할 수 없기 때문에 쿠키를 사용하도록 결정했다.
    oooppq committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    1027993 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d2f7c0c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5bf8d77 View commit details
    Browse the repository at this point in the history
  8. feat: userInfo 타입 지정

    oooppq committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    3136b80 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    272d6b5 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    04fc991 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38b161f View commit details
    Browse the repository at this point in the history
  3. feat: 로그아웃 기능 구현

    서버에서 로그아웃 api를 제공하면 추가해서 수정할 예정이다.
    oooppq committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f5e47f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    14e6733 View commit details
    Browse the repository at this point in the history
  5. feat: middleware를 통해 페이지 진입시 로그인 여부 검증

    middleware를 통해 검증하기 때문에 홈화면에서 라우티하는 과정이 간소화됐다.
    oooppq committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    8995d34 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c2d7e3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8a4812 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d2271a3 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    6310452 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b68c9ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fe9f47 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7dc289 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b423be9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c5a6179 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2 from oooppq/feature/auth

    [feat] 유저인증 관련 기능 구현
    oooppq authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    d0cb550 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    46eee16 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ff85849 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5636f54 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    84809c6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e6a822a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2ceff0e View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. style: css 수정

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    22b7969 View commit details
    Browse the repository at this point in the history
  2. style : css수정

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    208a8e3 View commit details
    Browse the repository at this point in the history
  3. feat : api header추가

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    dfe2810 View commit details
    Browse the repository at this point in the history
  4. feat: api header추가

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    83251ec View commit details
    Browse the repository at this point in the history
  5. chore: 자잘한 수정

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    31e30a6 View commit details
    Browse the repository at this point in the history
  6. chore: header 추가

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    3a41cf2 View commit details
    Browse the repository at this point in the history
  7. chore: 오타수정

    flowerseok committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    532fb4f View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. Merge pull request #3 from flowerseok/feature/demovote

    [feat] 투표 기능 구현
    oooppq authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    7243f29 View commit details
    Browse the repository at this point in the history
  2. refactor: axios 삭제

    기본 제공 메소드인 fetch로 과제에서 필요한 모든 기능을 구현할 수 있으므로 axios를 삭제했다.
    oooppq committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    9613795 View commit details
    Browse the repository at this point in the history
  3. refactor: 투표 결과 server-side component로 변경

    굳이 client side에서 렌더링될 필요 없는 페이지이기 때문에 서버 컴포넌트로 변경했다.
    oooppq committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    115c21b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e8d3e7a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f143feb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    27e105d View commit details
    Browse the repository at this point in the history
  7. feat: middleware 수정

    투표/결과 페이지는 로그인하지 않으면 접근할 수 없도록 막았고,
    로그인된 상태에서 회원가입 페이지 접근을 막았으며,
    투표한 사람들이 다시 투표 페이지로 진입할 수없도록 막았다.
    oooppq committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    7d4cbae View commit details
    Browse the repository at this point in the history
  8. Merge pull request #4 from oooppq/chore

    [chore] 코드 정리
    oooppq authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    09de8d8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    06c23ee View commit details
    Browse the repository at this point in the history
  10. Merge pull request #5 from oooppq/feature/vote

    [style] 투표/결과 페이지 디자인 수정
    oooppq authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    da3171a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    81e8465 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7389a8f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b9c00b8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a3265b3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0d5b49e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9f53be2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    937f1c3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    98f2e81 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7449000 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5d68522 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1b47903 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. hotfix: token exp 타임이 지나서 cookie를 삭제할 때의 error 해결

    이유는 모르겠으나, getSession을 통해 쿠키의 userInfo를 삭제할 때 에러가 발생했다.
    Cookies can only be modified in a Server Action or Route Handler.
    위와 같은 에러가 발생했는데, 일반적인 메소드에서 쿠키를 변경하려 할 때 발생하는 에러인 것 같다.
    나는 서버 컴포넌트에서 해당 메소드를 사용하면 문제가 되지 않을 줄 알았는데, 로그인처럼 서버 액션을
    따로 만들어서 쿠키를 삭제해주어야 하는 모양이다. 일단 귀찮아서 getSession 내의 쿠키 삭제 로직을 지웠고,
    middleware를 통해 라우팅시 유효기간이 지난 유저정보를 삭제할 수 있도록 수정했다.
    oooppq committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    3324914 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aeb66c8 View commit details
    Browse the repository at this point in the history