Skip to content

feat(feature02): implement basic backoffice APIs for activity CMS #3

Description

@all4null

Goal

운영자가 Backoffice에서 Activity Type과 Activity 게시물을 DB에 저장하고 조회할 수 있도록 Activity CMS의 기본 관리자 API를 구현한다.

이 작업의 목표는 기존 하드코딩 Activity 데이터를 MongoDB 기반 데이터로 전환하기 위한 최소 기반을 마련하는 것이다. 정렬 변경, drag and drop, 공개/비공개 토글, 이미지 업로드 같은 관리 편의 기능은 이후 이슈에서 별도로 구현한다.

Tasks

  • Activity Type과 Activity Item을 저장할 MongoDB 모델을 정의한다
  • Activity Type 생성 및 목록 조회 API를 구현한다
  • Activity Type의 Field schema를 함께 저장할 수 있도록 처리한다
  • Activity Item 생성 및 목록 조회 API를 구현한다
  • Activity Item이 특정 Activity Type을 참조하도록 typeKey 관계를 검증한다
  • Type schema를 기준으로 Item 저장 요청의 필수값을 검증한다
  • Backoffice 관리자 인증/인가가 필요한 API로 보호한다
  • 생성한 Type과 Item을 MongoDB에서 다시 조회할 수 있는지 검증한다

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions