Giter VIP home page Giter VIP logo

be's People

Contributors

jjjuhoon avatar kimdavid0521 avatar ls-rain avatar minyeongpark avatar pswoo0323 avatar

Stargazers

 avatar

Forkers

minyeongpark

be's Issues

[REFACTOR] 댓글 관련 수정 사항 반영

  • 댓글 조회 시 내가 좋아요 눌렀는지/안 눌렀는지 정보도 주기
  • 댓글 조회 시 글 onwer인지 아닌지 여부도 주기 (댓글 채택용)
  • 댓글 조회 시 내가 쓴 댓글인지 아닌지 여부도 주기
  • 댓글 삭제 api url 에서 like 제거하기

+)

  • 유저 이미지 바꾸기 예시 화면 swagger에 추가

[REFACTOR] 이미지 업로드 방식 수정

변경된 사항

  • 회원가입 시 프로필 이미지를 받지 않기 때문에 UserRequestDTO.UserJoinRequest에 있었던 String image는 삭제했습니다!
  • 회원가입 시 level을 1로 강제로 설정하였습니다!
  • 후기글 작성시 내투표 보기 API에서, 글 id도 같이 보내주도록 변경했습니다!
  • 🔥이미지 테이블을 따로 분리했습니다. User, Post, Candidate 테이블에서는 이미지를 담지 않습니다!
  • 🔥글 작성 시 글과 poll (general_poll, gauge_poll, card_poll) 은 먼저 생성되는데, 후보들은 따로 생성하도록 API를 분리했습니다!
    [이유]
    • 후보들에서도 이미지 파일을 받아와야 하는데 그냥 글 첨부 이미지 추가하는 것과는 조금 달라서 한 API 안에서 작업하기가 쉽지 않더라구요.. (제 실력 문제일수도,,😂)
    • 어떤 후보는 사진 추가하고 어떤 후보는 사진 안 추가하고 이래야 하니까,, 이 정보를 한 API에서 List<MultipartFile> 로 받아오기에는 한계가 있다고 판단했습니다.. 그래서 부득이 하게 다른 API로 분리했습니다..!!

현재 AWS RDS DB 내용을 export 해와서 로컬 DB에서 똑같은 환경 만들어두고, 작성/조회 등등 관련 API 테스트해보면서 보완 완료했습니다!

[FEAT] 댓글 채택 API 구현

  • 포인트 관련 내용도 추가해야 함
  • 댓글 채택 누를 때 그 댓글이 이 글에 대한 것인지도 한번 검증해야 함! >> 댓글 기능 전체에 대해 반영함

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.