Commit Graph

7 Commits (68be630c1c64cb7181f0680377fc909c535b7da8)

Author SHA1 Message Date
cyberali d09a7f0afb 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
9 months ago
cyberali 09be9d65ca 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
9 months ago
A1Gard b6d1a114f8 added visitor statistics 9 months ago
A1Gard 4a857afb6b added morph selector 10 months ago
A1Gard a43098693e added vuex compatible to SearchableSelect
added meta input
10 months ago
A1Gard 9d7fac82e7 added prop controller
added category api [props]
10 months ago
A1Gard c353645f66 added customer controller
added state and city
installed api route
added address input
10 months ago