Skip to content

[Feature] CRUD API 개발 (B-3) #36

Description

@linear

✒️ 만들고자 하는 기능

Supabase DB를 활용하여 데이터베이스와 연결된 CRUD API를 개발합니다.

📑 작업 내용

  • Create: 데이터베이스에 새로운 항목 추가 API 구현.

  • Read: 데이터베이스에서 항목 조회 API 구현.

  • Update: 기존 데이터 업데이트 API 구현.

  • Delete: 데이터 삭제 API 구현.

  • Supabase의 from 메서드 활용:

    const { data, error } = await supabase.from('table_name').select('*');
    
  • 오류 처리 및 적절한 응답 코드 반환(예: 200, 400).

🖥️ (Optional) 참고자료

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions