Code Monkey home page Code Monkey logo

monalisa's People

Watchers

 avatar

monalisa's Issues

Pay(결제) 기능 추가

  • 사용자는 Order를 결제할 수 있다.
  • 현금 결제 또는 카드 결제가 가능하다.
  • 그밖에 또다른 결제 방법이 추가 될 수 있다.

OrderDetail 엔티티 추가

현재 Order 테이블에는 총 주문한 가격만 나와있지 어떤 book을 구매했는지는 알 수 없다.

Order 테이블이 생성될때 어떤 book상품도 구매했는지 이력으로 남기기위해 OrderDetail을 추가해야한다.

불필요한 request 정보 삭제

로그인기능이 구현되었기때문에 현재 로그인한 User의 정보를 알 수있다.

그렇기때문에 이제는 api요청을 할때 userId에 대한 정보가 필요가 없다.

api를 확인하면서 userId에 대한 요청정보를 제거한다.

security 권한문제

jwt 토큰에 권한 관련 데이터를 넣어줘도

제대로 권한기능이 동작하지 않음.

Admin 추가

Admin 사용자는 다른 사용자의 상태를 볼 수 있어야한다.

좋아요 동시성 이슈 업그레이드

  • 기존 Lettuce 방식을 Redisson 방식으로 교체한다. 현재 좋아요 로직은 lock을 획득하기위한 retry로직이 필수다. 그러면 굳이 redis에 부하를 주는 Lettuce 보다 부하를 덜 주는 Redisson 방식이 더 좋은 선택이다.

db 컬럼 자료형이 고려되어 있지 않음

예를 들어 현재 User엔티티의 name 컬럼은 length 설정이 되어있지 않다.

이러면 해당 컬럼의 길이는 디폴트값(255)으로 설정되고, 이는 불필요하다.

length를 적절히 적용해줄 필요가 있다.

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.