GithubHelp home page GithubHelp logo

turktionary_backend's People

Contributors

tesseractjh avatar

Watchers

 avatar

turktionary_backend's Issues

access token 만료시 응답 방식 변경

  • 지금은 access token이 만료되었을 때 refresh token이 유효하다면 기존의 요청에 대한 응답에 새로 발급된 access token을 추가로 같이 응답해주는 방식을 취하고 있음. 이 방식에서 응답을 access token이 유효하지 않음을 { refreshAccessToken: boolean }으로 보내도록 하고, 이 응답을 받으면 '/refresh' 요청을 다시 날려서 새 access token과 refresh token을 발급받고 다시 원래 하려던 요청을 다시 하는 방식으로 변경

DB 테이블 변경에 따른 쿼리 수정

  • 품사 등록, 수정에 대한 로그 테이블을 별도로 추가함에 따른 변경
  • 어휘 테이블 컬럼명 변경(word -> headword)
  • created_time을 trigger로 추가하지 않고 서버에서 쿼리를 날릴 때 직접 추가하는 방식으로 변경

라우팅 구조 개선

  • refresh token을 한 번이라도 인증하는데 사용하였다면 갱신하도록 하기(/refresh, /is-logged-in)
  • /info/header를 삭제하고 유저 정보(닉네임, 경험치)만 응답하는 라우팅을 따로 만들기

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.