Commit Graph

3 Commits (7942a5dc1c462d3d70338701f713f4d6a5f9474b)

Author SHA1 Message Date
A1Gard 7942a5dc1c added posts and groups api 2 months ago
A1Gard be97c636a6 improved APIs 2 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