Commit Graph

5 Commits (10d26d730c8c7ecc919cda04f4b8aa4658a05845)

Author SHA1 Message Date
cyberali dcead2a865 feat: Implement product listing API with caching , sorting , filters and search
- Add ProductController with index method to provide product listings
- Implement caching for product listings based on request URI
- Add sorting functionality for products by various criteria (new, old, most_view, less_view, most_buy, less_buy)
- Implement filtering by category using slug
- Add search functionality to filter products by name
- Implement price range filtering using min_price and max_price parameters
- Include related category data in the product resource response
- Set default pagination to 20 items per page with optional customization via per_page parameter
4 months ago
cyberali f794d1f083 feat: Implement home page API endpoint
- Add HomeController with index method to provide home page data
- Fetch and include menu with items, limiting selected fields for optimization
- Fetch and include latest 6 sliders using SliderResource
- Fetch and include top 8 parent categories with their products using CategoryResource
- Fetch and include active advertisements with available clicks using AdvResource
- Fetch and include latest 8 posts using PostResource
- Return all collected data as a successful JSON response
4 months ago
A1Gard 740aca9349 added vuex compatible to SearchableSelect
added meta input
5 months ago
A1Gard bb60c111a6 added prop controller
added category api [props]
5 months ago
A1Gard 62debcbe6d added customer controller
added state and city
installed api route
added address input
5 months ago