Skip to content

feat: get product pagination and get one product #60

Description

@althafdaa

Requirement

  • Infinite scroll
  • user should be able to filter by event slug
  • when clicked, open product detail popup/page with more detailed information
GET /api/v1/product
type ProductList = {
  id: number;
  name: string;
  created_at: string;
  updated_at: string;
}

GET /api/v1/product/:productid
type ProductOne = {
  id: number;
 name: string;
 created_at: string;
 updated_at:string
 circle: {
   id: number;
   name: string;
   slug: string;
   event: {
      id: number;
     name:string;
   } | null
   block_event: {
     id: number;
     name: string;
   } | null
 } 
}

Example:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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