Giter Club home page Giter Club logo

vote_your_dog's People

Contributors

mardi2020 avatar

Watchers

 avatar

vote_your_dog's Issues

[BE] swagger https 허용 수정

현재 https url로 swagger를 사용하면 CORS 이슈가 발생함

  • 기본적으로 swagger는 http를 사용하고 있기 때문에 발생한다고 하여 수정

[Feature/BE] 투표 메시지를 발행하여 투표수를 갱신한다

  • api 서버에서 투표 메시지(dogId, count)를 발행하고 voteUpdate 서버에서 해당 토픽(count-update)를 구독하여 갱신 기능을 수행한다.
  • 투표 취소, 투표 하기에 따라 투표수를 조절하고 MongoDB의 데이터도 일관되도록 다시 메시지를 생성하여 api 서버에서 갱신하도록 한다.
  • api 서버와 voteUpdate 서버에서 사용되는 카프카 메시지 클래스는 중복되므로 common 모듈에서 관리하도록 한다.

refactor: Kafka consumer, producer

  • api 서버 및 update 서버에서 겹치는 kafka configuration class를 common 모듈로 이동
  • 각 서버에서 상속받고 필요한 factory 생성해서 쓰기
  • 테스트 수정

redis 설정 수정 및 레코드 타입 수정

  • CachingConfigurerSupport는 deprecated되었으므로 더이상 상속받지 않음

  • 레코드 데이터 클래스는 getter 메서드가 자동으로 제공됨
    따라서 위 두가지 경우를 수정함

  • 리드미에 회고록 추가

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.