Implement people API  on Home page, and People menu

Implement news, People

curl -X 'GET' \
  'https://nomadicstudios.net/api/peoples' \
  -H 'accept: application/json' \
  -H 'X-CSRF-TOKEN: '

  https://nomadicstudios.net/api/peoples
  res 

{
  "status": true,
  "data": [
    {
      "uuid": "61a07fed-891a-4802-ac25-0b9476469628",
      "fname": "Daniel",
      "lname": "Anders",
      "profile_pic": "https://nomadicstudios.net/storage/profile-pic/1744712420.jpg",
      "type": "Photographer",
      "location": "Bali",
      "profile_link": null,
      "instagram_link": null,
      "facebook_link": "",
      "twitter_link": null,
      "sm_link": null,
      "description": "Lorem ipsum dolor sit amet, consectetur  adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
    },
    {
      "uuid": "48638d85-b98e-4ee2-8944-17cb88989117",
      "fname": "Jeson",
      "lname": "Goodman",
      "profile_pic": "https://nomadicstudios.net/storage/profile-pic/Jeson.png",
      "type": "Audio Engineer",
      "location": "Bali",
      "profile_link": null,
      "instagram_link": null,
      "facebook_link": null,
      "twitter_link": null,
      "sm_link": null,
      "description": "Lorem ipsum dolor sit amet, consectetur  adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
    }
  ]
}
 access-control-allow-origin: * 
 cache-control: no-cache,private 
 connection: Keep-Alive 
 content-type: application/json 
 date: Sat,18 Oct 2025 20:40:44 GMT 
 keep-alive: timeout=5,max=100 
 server: Apache/2.4.52 (Ubuntu) 
 transfer-encoding: chunked 
 x-ratelimit-limit: 60 
 x-ratelimit-remaining: 59 

 422	
Error occurred while fetching people

Media type

application/json
Example Value
Schema
{
  "status": false,
  "error": "Something went wrong"
}

/api/events
 "/api/events": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Get list of active events",
        "description": "Returns a list of events with optional filters for date and location. Also includes interested and going counts.",
        "operationId": "abd064ca1834745d7eb2b33624f222a5",
        "parameters": [
          {
            "name": "filterDate",
            "in": "query",
            "description": "Filter events by date (YYYY-MM-DD)",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2025-07-19"
            }
          },
          {
            "name": "filterLocation",
            "in": "query",
            "description": "Filter events by location ID",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 3
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Events retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1
                          },
                          "title": {
                            "type": "string",
                            "example": "Music Night"
                          },
                          "description": {
                            "type": "string",
                            "example": "An exciting night of music and fun."
                          },
                          "thumbnail": {
                            "type": "string",
                            "example": "https://example.com/storage/location/event/event.jpg"
                          },
                          "event_status": {
                            "type": "integer",
                            "example": 1
                          },
                          "interested_count": {
                            "type": "integer",
                            "example": 50
                          },
                          "going_count": {
                            "type": "integer",
                            "example": 30
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time",
                            "example": "2025-07-18T10:00:00Z"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Failed to fetch events",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Unexpected error occurred"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
        },

         "/api/news": {
      "get": {
        "tags": [
          "News"
        ],
        "summary": "Get list of published news",
        "description": "Fetches all active news articles with optional filters for date and tags.",
        "operationId": "getNewsList",
        "parameters": [
          {
            "name": "filterDate",
            "in": "query",
            "description": "Filter news by specific creation date (YYYY-MM-DD)",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "filterTags",
            "in": "query",
            "description": "Filter news by tag keyword",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with news list",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1
                          },
                          "title": {
                            "type": "string",
                            "example": "Exciting Studio Launch!"
                          },
                          "description": {
                            "type": "string",
                            "example": "We are proud to announce..."
                          },
                          "tags": {
                            "type": "string",
                            "example": "studio, launch, news"
                          },
                          "banner": {
                            "type": "string",
                            "example": "https://yourdomain.com/storage/location/news/banner.jpg"
                          },
                          "thumbnail": {
                            "type": "string",
                            "example": "https://yourdomain.com/storage/location/news/thumb_banner.jpg"
                          },
                          "conclusion_picture": {
                            "type": "string",
                            "example": "https://yourdomain.com/storage/location/news/conclusion.jpg"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time",
                            "example": "2025-10-18T10:30:00Z"
                          },
                          "created_by": {
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 3
                              },
                              "name": {
                                "type": "string",
                                "example": "Admin User"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation or server error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Unexpected error occurred"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Authentication",
      "description": "Authentication"
    },
    {
      "name": "User",
      "description": "User"
    },
    {
      "name": "Locations",
      "description": "Locations"
    },
    {
      "name": "Location",
      "description": "Location"
    },
    {
      "name": "Studios",
      "description": "Studios"
    },
    {
      "name": "People",
      "description": "People"
    },
    {
      "name": "Events",
      "description": "Events"
    },
    {
      "name": "News",
      "description": "News"
    }
  ]
}
curl -X 'GET' \
  'https://nomadicstudios.net/api/news?filterDate=2025-12-2&filterTags=bali' \
  -H 'accept: application/json' \
  -H 'X-CSRF-TOKEN: '
  https://nomadicstudios.net/api/news?filterDate=2025-12-2&filterTags=bali
