pable91 / monalisa Goto Github PK
View Code? Open in Web Editor NEWbook store(toy project)
book store(toy project)
spring rest docs를 사용하려면 자바 17버전을 사용해야한다.
현재 Order 테이블에는 총 주문한 가격만 나와있지 어떤 book을 구매했는지는 알 수 없다.
Order 테이블이 생성될때 어떤 book상품도 구매했는지 이력으로 남기기위해 OrderDetail을 추가해야한다.
ec2내 redis-3.0.5를 설치해야함.
로그인기능이 구현되었기때문에 현재 로그인한 User의 정보를 알 수있다.
그렇기때문에 이제는 api요청을 할때 userId에 대한 정보가 필요가 없다.
api를 확인하면서 userId에 대한 요청정보를 제거한다.
User Profile은 현재 로그인한 나 자신의 정보만 보여줘야한다.
jwt 토큰에 권한 관련 데이터를 넣어줘도
제대로 권한기능이 동작하지 않음.
좋아요가 눌린 상태에서 한번 더 누르면 취소된다.
내가 좋아요 누른 책들을 확인 할 수 있다.
Admin 사용자는 다른 사용자의 상태를 볼 수 있어야한다.
회원가입과 로그인 api를 호출할때
json데이터를 전송하면 기본생성자가 없어서 역직렬화 되지 않는 현상
예를 들어 현재 User엔티티의 name 컬럼은 length 설정이 되어있지 않다.
이러면 해당 컬럼의 길이는 디폴트값(255)으로 설정되고, 이는 불필요하다.
length를 적절히 적용해줄 필요가 있다.
swagger 설정
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.