Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR 코드 스캔 시 어느 Zabo Boards에 보여진 QR코드인지 기록하기 #141

Open
1 task
withSang opened this issue Nov 5, 2023 · 0 comments
Open
1 task
Labels
enhancement New feature or request

Comments

@withSang
Copy link
Member

withSang commented Nov 5, 2023

Summary

QR 코드 스캔 시 어느 Zabo Boards에 보여진 QR코드인지 기록할 수 있어야 합니다. deviceId를 QR코드에 포함되는 공유 url의 query 파라미터로 추가하면, 백엔드에서 공유 url을 처리할 때 QR코드 스캔 이벤트를 기록할 수 있습니다.

  • Zabo Boards 프론트엔드는 기존 공유 URL에 query parameter로 device id를 추가한 url에 대한 QR코드 생성
    • 예시: "zabo.sparcs.org/s/000000?deviceId={Zabo Boards device id}"
  • 사용자 기기가 QR코드를 스캔해 해당 URL로 이동하면, 백엔드의 공유 url 핸들러 (shareZabo) 에서 아래 작업들을 수행함
    • query parameter로 deviceId가 포함되어 있다면, deviceId가 데이터베이스에 존재하는 ID인지 검증
    • 해당 deviceId에서 보여진 특정 자보의 QR코드가 스캔된 timestamp들을 데이터베이스에 저장
      • deviceId와 zaboId의 1:1 relation

Tasks

  • 공유 url 처리 시 deviceId 기록 기능 추가
@withSang withSang added the enhancement New feature or request label Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant