We are connecting the HomePage to the backend. Use the following endpoint : /collections/:customerId to retrieve all collections associated with a customer. Collections should all be displayed as bubbles as shown in the figma. When clicking on a collections, the currentCollection state should be updated. All gifts displayed in the HomePage should come from the currently selected Collection. Use the GiftManagement page as a reference for axios functions and state management.
We are connecting the HomePage to the backend. Use the following endpoint : /collections/:customerId to retrieve all collections associated with a customer. Collections should all be displayed as bubbles as shown in the figma. When clicking on a collections, the currentCollection state should be updated. All gifts displayed in the HomePage should come from the currently selected Collection. Use the GiftManagement page as a reference for axios functions and state management.