As a user, when I go to the logs section I should be able to see all of the logs and the data populated.
AC
WHEN I navigate to the logs section
THEN I should be able to see all of the logs populated onto the DOM
AND I should NOT see any add, delete, or update buttons if I am not logged in.
DevNotes
write a function with a promise constructor that will use an axios get call to return a promise of the logs data.
convert the response to an array of logs objects
export the axios call function and call it in a new component (logs)
in this function call the getLogs function and with the returned promise, build a domString that will contain all html for the logs page except for each individual log.
create a new component for an individual log with a single function that builds a domString for an individual log card.
within the logs component domString builder, use a forEach loop to loop over the objects of logs and call the individual log builder to pass in each item
User Story
AC
WHEN I navigate to the logs section THEN I should be able to see all of the logs populated onto the DOM AND I should NOT see any add, delete, or update buttons if I am not logged in.
DevNotes