Git Product home page Git Product logo

springboot-study's Introduction

기술 스택

  • Java 8
  • SpringBoot2.2
  • JPA
  • H2Database
  • Gradle

구현 기능

  • 사용자 체크 메소드
  • JWT 인증
  • API 2종 구현
  • API 요청과 응답 포맷은 JSON

구현 내용

  • 사용자 로그인 환경 체크
    • 모든 API 요청 시 헤더 파라미터에는 모바일 앱 버전, 모바일 디바이스 OS 종류, 모바일 디바이스 OS 버전이 포함.
    • 하나라도 누락 시 요청 실패 처리.
  • 로그인 API
    • 요청 파라미터는 로그인 아이디, 비밀번호이며, 모두 필수 입력 값으로 지정.
    • 요청 성공 시 HTTP 상태코드는 200, JSON 모델에는 엑세스 토큰토큰의 만료일시를 응답.
    • 요청 실패 시 HTTP 상태코드는 지원자께서 판단한 상태코드를 넣어주시고, JSON 모델에는 실패 이유를 응답.
  • 사용자의 혈당 측정 기록 저장 API
    • 사용자의 엑세스 토큰은 헤더 파라미터에 포함.
    • 요청 파라미터는 혈당 측정시기, 혈당 측정일시, 혈당 측정값, 메모이며, 메모를 제외한 항목은 필수 입력 항목으로 지정.
    • 요청 성공 시 HTTP 상태코드 200을 응답.
    • 요청 실패 시 HTTP 적절한 상태코드 반환, JSON 모델에는 실패 이유를 응답.

springboot-study's People

Contributors

eunhyeeechoi avatar jeong avatar

Watchers

 avatar

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.