Skip to content

feat: 이벤트 로그 수집 API 구현 #146

@GOOHAESEUNG

Description

@GOOHAESEUNG

배경

기획팀에서 유저 행동 분석을 위한 이벤트 로깅 시스템 스펙(docs/log_plan.md)을 전달.
북극성 지표(log_create_complete) 및 핵심 퍼널 이벤트를 수집하기 위한 백엔드 API 필요.

목표

  • 앱(프론트)이 배치로 전송하는 이벤트를 수신해 DB에 적재하는 API 구현
  • POST /events/batch 엔드포인트 1개 + events 테이블 1개 구조

범위

  • events 테이블 스키마 설계 (MySQL 8, JSON 컬럼)
  • POST /events/batch 엔드포인트
  • client_event_id 기반 중복 삽입 방지 (UNIQUE)
  • Security 설정 (비로그인 호출 허용)
  • 기본 단위 테스트

참고

  • 기획서: docs/log_plan.md
  • 기획서는 Postgres/JSONB 기준 → MySQL 8/JSON으로 치환 필요
  • 이벤트 이름/properties 계약은 프론트와 별도 합의

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions