minwonhaeso / esc_server Goto Github PK
View Code? Open in Web Editor NEW⚽ Easy Sports Club Server ⚽
License: MIT License
⚽ Easy Sports Club Server ⚽
License: MIT License
체육관에 사용자(매니저) 연결
accessToken을 재발급하는 로직에서 이미 만료된 accessToken으로 현재 접속한 사용자에 접근하여 username을 받아오는 로직에서 오류가 발생하였음
리뷰 관련 API 수정 요청 사항입니다!
로그인 전 비밀번호 찾기에서 이메일을 입력하고 인증코드 발송 후에, 인증코드를 입력하고 확인 버튼을 누르는 단계에서 잘못된 인증 코드를 입력 했는데도, 인증 완료가 된 상태로 넘어가는 이슈를 발견하였습니다.
체육관 정보 수정 API
체육관 사용 리뷰(후기) + SSE
체육관 예약 + 예약 알림 기능 구현
OAuth2를 활용한 사용자 인증 및 인가 구현
이미지 테이블에 이미지 경로만 존재했음
Cloudinary안에 있는 이미지 데이터를 삭제하기 위해서 public_id 값이 필요하기 때문에 이 부분도 추가 예정
@Override
@Cacheable(value = CacheKey.USER, key = "#email")
public UserDetails loadUserByUsername(String email) throws UsernameNotFoundException {
System.out.println(email);
Member member = memberRepository.findByEmail(email).orElseThrow(() -> new AuthException(MemberNotFound));
return PrincipalDetail.of(member);
}
해당 메소드에서 캐시가 생성(serialize)은 되지만 불러오기(deserialize) 작업을 요청하면 클래스를 생성할 수 없다는 에러가 발생
SerializationException: Could not read JSON:cannot deserialize from Object value
UserDetails interface에 기본적으로 필요한 username과 password 관련 변수가 존재하지 않았고, 불필요한 내용들에 대해 JsonIgnore처리가 되어있지 않았다.
Postman으로 중복된 이메일과 정상 등록된 인증키값 입력시
이메일이 중복돼서 에러가 나서 회원가입이 정상적으로 이루어지지 않지만
인증키값은 사라지게 되는 현상이 있습니다!
프론트에서는 중복검사 -> 인증메일 발송 -> 인증키와 함께 회원가입이 지켜지지만
서버쪽에 바로 쏘는 경우(Postman) 발생하는 문제인 것 같습니다
체육관마다 새로운 태그를 계속 생성하였음
태그 테이블의 name 속성을 unique로 사용하여 변경할 예정
해찬님 의견: Stadium과 Tag 사이의 연결 테이블을 생성하고 단방향 맵핑으로 진행하는게 좋을 것 같습니다(Tag 태이블도 name을 unique key로 관리할 예정입니다.)
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.