이번 프로젝트는 프론트엔드와 백엔드가 협업해서 진행한다. 우리 팀의 주제는 룸메이트 매칭 프로젝트로 사회 초년생들이 사회에 첫 발을 내딛을 때, 주거비용이 상당한 부담으로 다가오기 때문에 이러한 문제를 해결하고자 주거비용을 공유할 수 있는 룸메이트를 매칭할 수 있는 서
2주차엔 기획 내용을 바탕으로 개발을 시작했다. 나는 룸메이트 구하는 게시글 기능 구현을 맡았다.Article 엔티티는 다음과 같다.지역, 기간, 성별은 Enum 타입으로 설정했고, isDeleted을 설정해서 게시글 삭제는 Soft Delete 방식을 사용하기로 했다
3주차엔 게시글 찜 기능 구현을 했다. 유저가 게시글에 찜 버튼을 눌렀을 때 LikeArticle 테이블에 해당 정보가 있으면 데이터를 삭제하여 찜 삭제를 구현했고, LikeArticle 테이블에 해당 정보가 없으면 데이터를 저장하여 찜 등록을 구현했다. 그리고 유저가
4주차엔 프로필 추천, 유저의 프로필 정보 불러오기 기능 구현을 했다. 프로필 추천 기능은 유저가 로그인을 하고 메인페이지에 접속하면 설정해 놓은 프로필 정보를 바탕으로, 룸메이트 모집 글을 작성한 유저 중에서 흡연 유무, 원하는 지역, 활동 시간이 같고 희망 연령대에
5주차엔 서버 배포, 프로젝트 노션 정리, README 작성을 했다. 서버 배포 과정은 다음과 같다. 백엔드 Repository의 main 브랜치에 push가 되면 github actions를 이용해 CICD 과정을 거친다. 서버 API 이미지를 Build 및 Push