Git Product home page Git Product logo

cryptocoffee_be's Introduction

Crypto Coffee BE Repository


Description

This repository contains the backend code for the Crypto Coffee project. The backend is built using Spring Boot. The backend is responsible for handling all the API requests and responses. The backend is also responsible for handling the database operations.

cryptocoffee_be's People

Contributors

doma17 avatar

Stargazers

 avatar

Watchers

 avatar

cryptocoffee_be's Issues

로그인한 유저의 정보 가져오기

"N"이라는 회사의 인사 담당자인 "A"씨는 CryptoCoffee 서비스에 로그인하여 "N" 회사로 승인 신청을 한 사원들의 데이터를 가져와야한다.

UserEntity -> CompanyEntity -> MemberEntity의 형태로 RDBS에서는 가져와야한다.

  1. Token으로 인증한 유저의 데이터를 Controller 단에서 활용하려면 어떻게 해야할까?

  2. MongoDB와 같은 Json 형식의 DB를 활용하는 것도 좋겠지만, RDBS 상에서는 어떻게 해결해야 할까?

Redis RefreshEntity 삭제가 안되는 문제

CrudRepository 상속을 통한 Redis DB의 RefreshEntity 삭제 안되는 문제 발생

삭제 시켜도 지속적으로 DB RefreshToken이 남아있어서,
추후 같은 username으로 DB 검색시 expired된 것으로 검색되는 문제인듯함

데이터 분석 API

데이터 분석을 위한 Python 코드 구동과 분석된 데이터를 받을 수 있는 API 구성이 필요함

  • Spring Python 구동환경 구성
  • Python 서버 구성

이메일 인증 로직

  1. 이메일 인증 시작
  2. 회사 이메일 DB 확인
  3. 이메일 인증 완료 (인증번호, 이메일)
  4. 회사 번호 반환 (사번)
  5. 어드민 허가 (어드민 페이지)

Access, Refresh Token

JWT 기능 중 Refresh Token 추가

Access Token : Header (Authorization)
Refresh Token : Cookie (refresh)

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.