As a user, I should be able to enter in an event that will happen at a future date and see all my events.
Acceptance Criteria
CREATE
GIVEN a user wants to keep track on a future event
WHEN the user clicks an affordance to enter a new event in the application
THEN a form should be presented to the user in which the following properties of the event can be provided
Name of event
Date of event
Location of event
DEV NOTES
create a eventsData file containing a promise to getEventsByUid via axios.get the apiKeys
Object.keys(eventsResults).forEach((eventId) => to push the object id results into a eventsarray,
and resolve the array
addEvent = eventsObject => axios.post
create a events.js file to eventsBuilder = (uid) => the data from eventsData.getEventsByUid
add an input form with a submitButton for events to be added: eventsTitle, imageUrl, and synopsis
User Story
As a user, I should be able to enter in an event that will happen at a future date and see all my events.
Acceptance Criteria
CREATE
GIVEN a user wants to keep track on a future event WHEN the user clicks an affordance to enter a new event in the application THEN a form should be presented to the user in which the following properties of the event can be provided
DEV NOTES
create a
eventsData
file containing a promise togetEventsByUid
viaaxios.get
theapiKeys
Object.keys(eventsResults).forEach((eventId) =>
to push the object id results into aevents
array, and resolve the arrayaddEvent = eventsObject => axios.post
create a
events.js
file toeventsBuilder = (uid) =>
the data fromeventsData.getEventsByUid
add an input form with a
submitButton
forevents
to be added:eventsTitle
,imageUrl
, andsynopsis