8000 feat: get product pagination and get one product · Issue #60 · comimafun/catalog-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
feat: get product pagination and get one product #60
Open
@althafdaa

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0