nss-evening-cohort-9 / nutshell-pine

nutshell-pine created by GitHub Classroom
1 stars 1 forks source link

News #1

Open zoeames opened 5 years ago

zoeames commented 5 years ago

User Story

As a user, I should be able to list interesting news articles on my dashboard

Acceptance Criteria

CREATE:

GIVEN a user wants to record a news article on their dashboard WHEN the user performs a gesture on a New Article affordance THEN a form should be presented to the user in which the following information can be entered

  1. News title
  2. Synopsis
  3. URL

GIVEN a user has entered in all field values for storing a new article WHEN the user performs a gesture on the Save Article affordance THEN the article should be saved in the database, and assigned to the user

READ:

GIVEN a user has saved news articles WHEN the user visits their dashboard THEN the news articles should be presented in the News components AND the user should only see articles that belong to their uid.

UPDATE:

GIVEN a user wants to update a news article WHEN the user performs a gesture on the edit affordance THEN a form should be presented to the user AND all the information for the article should pre-populate in the form AND after the user edits the information and pushes a 'Save Article' button the data should update in firebase

DELETE:

GIVEN a user wants to remove a previously stored news article WHEN the user performs a gesture on the delete affordance THEN the article should be deleted