simone-di-paolo / aem-boilerplate

The starting project for AEM.
Apache License 2.0
0 stars 0 forks source link

EVO 7 - Develop a Connector functionality and Dynamic Cards component based on the REST API Response #21

Closed simone-di-paolo closed 3 months ago

simone-di-paolo commented 3 months ago

Develop a REST API in order to render dynamically every single cards of the Dynamic Cards Component.

image

The cards must be created by checking the JSON that will be retrieved from the following endpoint: https://console.firebase.google.com/project/aem-rest-example/database/aem-rest-example-default-rtdb/data/~2F

The first section of the component must have:

The fields that needs to be managed on every single card are the following:

Every single item of the JSON array has an "age" key that must be added in a data-age attribute on every card and will be used in a future development on a separate issue.

The cards for each row can be only one (if it is one it must be placed in the middle) or at maximum three. If there are 4 cards (or above), then the 4th/5th/6th (and so on) must be placed on a new line.

If there are no cards info (less than 1), then the component must be removed from the page with a Sightly logic.

N.B. this component is not the same of the old card component developed with a multifield.

The due date must be 07/02/2024 at 14:00.