Closed sarah-weatherbee closed 5 years ago
As a developer, I want to see a new record in firebase when the user submits her chat message.
GIVEN a user enters in a chat message WHEN they hit the submit button THEN there should be a new record in firebase for their message
We need a textbox to enter text A submit button with an event listener to send the message to the database A dom element to display the message
User Story
As a developer, I want to see a new record in firebase when the user submits her chat message.
Acceptance Criteria
GIVEN a user enters in a chat message WHEN they hit the submit button THEN there should be a new record in firebase for their message
Development
We need a textbox to enter text A submit button with an event listener to send the message to the database A dom element to display the message