Closed mattadlerpdx closed 1 year ago
I think the backend file stores multiple Campsites, but our MVP is just going to handle processing a single incoming Request (Post).
so does the JSON file i created look good? or should we have multiple campsites in file?
like this?
{"arrayOfJsonObjects":[ { "email": "matt@gmail.com", "campsite": "Yellowstone", "date": "2023-12-13"}, { "email": "kira@gmail.com", "campsite": "craterLake", "date": "2024-09-14"} ] }
Yeah, that looks exactly like what I was thinking. And if you write the findCampsite method to iterate, it'll work if there's just one object in the list, or many.
i updated this branch, not sure if this PR reflects those changes
Yep, the recent commit is in this PR. Thanks! Merging in now.
what do y'all think of the files below? what can be added/removed?