Giter VIP home page Giter VIP logo

maple-cheater's People

Contributors

dhslrl321 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

maple-cheater's Issues

[Backend-Error] 중복 회원가입 문제

현재 서버에서 회원가입을 할 때, 기존의 회원인지 검사하지 않고 있어서 중복 회원가입이 가능한 Issue

  • 한 번 email 인증을 수행하고 나면 계속해서 회원 생성이 가능함

[Frontend & Backend] 유저 검증 작업 필요

사용자의 공격 벡터

  • localStorage 에 값을 임의로 바꾸어서 다른 사용자의 data 로 접근할 수 있다.
  • 만약 backend 에서 exception 을 throw 할 경우에 frontend 에서 올바른 userId로 값을 바꿔주지 않으면 front application 의 논리적인 문제가 연쇄적으로 발생할 가능성이 존재한다.
  • 결국 exception 을 throw 하고 올바른 user로 setting 하는 작업이 동반되어야 한다.

Frontend

  • _app.js 에서 Component가 로드되는 시점에 localStorage 에 저장되는 user data 를 서버로 보내서 검증하는 작업이 필요하다.

Backend

  • token 에 담긴 userId와 실제 요청을 보내는 userId 가 다른 경우 exception 을 던지거나 token 에 담긴 user의 데이터로 response를 해야 한다.

[Frontend] MUI TextField media query

Material UI의 TextField 에서 placeholder 의 font-size가 변경되지 않아서 모바일 버전에서 문제가 Text가 다 보이지 않음

[Refactor-Backend] Service 에서 Entity 의 getter 메서드 제거

현재는 Entity 객체의 자율성을 보장하지 않는 코드

  • Service 에서 Entity 를 DTO 로 변환하는 과정에서 Entity 의 field 값을 getter 를 이용하여 setting 하고 있음

Entity 객체의 자율성을 보장하기 위해서 Mapper 클래스 생성

  • Mapper Class 를 생성하고 MapperClass 에서 Entity <-> DTO 를 변환하도록 수정할것

[Frontend & Backend] 모든 입력 값에 대한 Server Side & Client Side Validation 필요

모든 입력 값에 대한 Server Side & Client Side Validation 이 필요함.

Frontend

서버와 통신하는 모든 입력 값에 대한 validation 을 validator.js 에서 정의하고 reject 할 수 있도록 할 것.

Backend

Front 에서 들어오는 모든 입력 값에 대해서 자체 Validation 을 수행하고 400 Bad Request 를 반환하도록 할 것.

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.