목록2024/08 (36)
밤빵's 개발일지
드디어! 드디어!!! 팀 프로젝트 둘째 주가 되서야, 7조에 합류하게 되었다🥹!! 공식적인 합류는 아니지만 이렇게라도 합류하게 되어서 정말 제대로된 협업을 경험하게 될 것 같아 많은 기대 중! 오늘은 퇴물도살자 팀에서 처음으로 개발일지에 참여하는 날이라, 일단 초대된 노션과 슬랙채널에서 자료들을 살펴보며 프로젝트에 참여하기 위한 준비를 하고있다. 제의를 받은 첫날부터 팀원들끼리 오고가는 다정한 말투와 작은 거 하나도 같이 논의하는 모습을 보고 이런게 소통이구나 충격을 받았고, 활발한 팀원들의 채팅방, 실시간으로 이루어지는 팀원들의 소통을 보며 이렇게 진행되야 프로젝트가 이루어질수가 있겠구나 란 걸 많이 체감하는 중이다. 프로젝트에서 MVP달성 등등 중요한 게 많지만 성공적으로 이루어지기 위한 중요 요..
멘토링CRUD기능을 맡고 프론트헬퍼분이 요구하신사항이 "아티클" 기능을 넣고싶다는거였다. 당연히 못알아들어서 아티클이 뭔지 한참 여쭤보고, 참고하라고 주신 사진보고 해보겠다고 해맑게 말씀을 드렸는데...! 알아보니 웹소켓을 알아야 하는거 같다...! 엄청 어렵다고 듣기도 했고, 진짜 하나도 모르는 부분이라 일단은 GPT에게 부탁을 했다...! 진환님의 요구사항에 따라 실시간 뉴스피드 같은 느낌의 아티클 (Article) 기능을 구현해보기 위해서 GPT에게 부탁한 코드예시에 대해 개발일지를 작성하려고 한다. 실시간 뉴스피드 기능은 사용자가 작성한 아티클을 다른 사용자에게 보여주고, 최신 업데이트가 즉시 반영될 수 있도록 하는 것을 목표로 하는데, 이러한 기능은 특히 사용자 간의 소셜 인터랙션을 강조하는 웹..
시큐리티... 강의를 들으면서도 어려웠고, 직접 구현하려니 더 어려웠던 건데, 지금 진행하는 프로젝트에서 이미 구현이 되어있어서 내가 작성하진 않지만 구현정도는 할 줄 알아야하지않을까?란 생각에 오늘 개발일지 소재로 정했다.🤓스프링 시큐리티(Spring Security)란?스프링 시큐리티(Spring Security)는 스프링 애플리케이션에서 보안을 제공하기 위한 서블릿 필터 기반의 보안 프레임워크이다. 스프링 시큐리티는 웹 애플리케이션의 인증과 인가를 처리하며, 개발자가 쉽게 보안 로직을 구현하고 확장할 수 있는 다양한 기능을 제공한다. 스프링 부트(Spring Boot)와 함께 사용하면 보안 구성을 더 간단하게 자동화할 수 있다. ▶ 스프링 시큐리티의 주요 개념스프링 시큐리티의 주요 개념은 다음과 ..
팀 프로젝트를 통해 협업을 하면서 다른 팀원분들과의 차이를 하루하루 체감하면서 다른 팀원이 작성한 필터클래스의 코드를 보고 내가 잘 다루지 못하는 부분이라 정리를 해야겠다고 마음먹었다. 사실 너무 잘하시는 분이 작성한 코드기도 하고 JWT관련부분이라 코드를 보면서 답답함과 꺼버리고싶은 마음이 더 컸지만..! 그래도 나도 필터클래스는 작성할 줄 알아야하니까.. 오늘은 필터에 대한 내용을 소재로 개발일지를 작성했다. 🥺필터(Filter) 클래스란?필터(Filter)는 클라이언트의 요청을 처리하기 전이나 응답을 클라이언트에게 전달하기 전에 실행되는 컴포넌트이다. 필터는 보통 서블릿(Servlet) 또는 스프링의 DispatcherServlet과 같은 프론트 컨트롤러 전에 실행되고, 웹 애플리케이션에서 요청 ..
결국 로그인기능구현은 해내지 못해서 다른 기능을 맡게되었다..! 해내지못해서 너무 아쉽긴하지만.. 어렵고 아직은 내가 레디스? 라는것도 알지못해서 그냥 할 수 있는 간단한 CRUD를 맡기로 했다. API를 설계하면서 개발일지 소재를 생각하다가 멘토링에서 들었던 로드밸런서에 대해 정리하기로 결정했다! 🤓로드밸런서(Load Balancer)란?로드밸런서(Load Balancer)는 여러 서버에 걸쳐 트래픽을 분산하여 웹 애플리케이션의 가용성과 성능을 향상시키는 역할을 하는 네트워크 장치 또는 소프트웨어이다. 로드밸런서는 클라이언트의 요청을 여러 서버(또는 인스턴스)로 분산하여, 서버의 부하를 줄이고 시스템의 안정성을 보장한다. ▶ 로드밸런서의 주요 역할로드밸런서의 역할은 크게 네 가지로 나눌 수 있다: →..
Spring을 들으면서 쿠키와 세션에 대한 강의를 들으면서 분명 들을 때는 너무 재밌었는데...! 이해도못하면서 그저 재밌어했던 것 같다. 유튜브에서 쿠키와 세션을 정리한 내용을 보다가 개발일지에 기록하면 좋겠다는 생각이 들어서 정리를하게됐다. 🤓쿠키와 세션 방식의 이해와 활용쿠키(Cookie)와 세션(Session) 방식은 웹 애플리케이션에서 사용자 식별과 상태 관리를 위해 가장 널리 사용되는 방법 중 하나이다. 웹은 본질적으로 무상태(stateless) 프로토콜인 HTTP를 기반으로 하기 때문에, 서버는 각 요청이 독립적이고 이전 요청과의 관계가 없는 상태로 처리된다. 그러나 대부분의 애플리케이션은 사용자의 상태나 데이터를 유지해야 하기 때문에, 이를 위해 쿠키와 세션 방식을 사용한다. 이번 개발일..