API Endpoints
The backend provides the following endpoints for managing footer menu links.Fetch Footer Menu Links
- Endpoint:
GET /admin/footer-menu - Description: Retrieves all footer menu links, sorted by their order.
- Response:
Create a New Footer Menu Link
- Endpoint:
POST /admin/footer-menu - Description: Creates a new footer menu link.
- Request Body:
- Response:
Update a Footer Menu Link
- Endpoint:
PUT /admin/footer-menu/{id} - Description: Updates an existing footer menu link.
- Request Body:
- Response:
Delete a Footer Menu Link
- Endpoint:
DELETE /admin/footer-menu/{id} - Description: Deletes a footer menu link permanently.
- Response:
Frontend Implementation
Displaying the Footer Menu
To fetch and display footer menu links:Creating or Editing a Link
Active/Inactive Status Display
Conclusion
The Footer Menu Management system allows full control over website footer links. Administrators can dynamically update, add, and remove links, ensuring seamless navigation for users. Internal and external links are supported, and visibility can be controlled via theisActive flag.
