Commit Graph

5 Commits (a16ff6461f419b73abc2a9d9145d37210b00817a)

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
8 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
8 months ago
A1Gard a43098693e added vuex compatible to SearchableSelect
added meta input
9 months ago
A1Gard 9d7fac82e7 added prop controller
added category api [props]
9 months ago
A1Gard c353645f66 added customer controller
added state and city
installed api route
added address input
9 months ago