BetsyRowley / menstrual-tracker

A full-stack application created for University of St. Thomas course SEIS739.
0 stars 1 forks source link

As a User, I want to log into my own profile so that I can keep my data private. #6

Open BetsyRowley opened 6 months ago

BetsyRowley commented 6 months ago

Feature Description

Use Case

User Action Action Result
Enter username and password into form fields Password and form fields contain entered information
Click "submit" button User's dashboard screen is displayed

Noun Extraction

Class Name: User
Responsibilities Collaborators
Knows (Variables): User name, password. Can (Methods): can get/set user name and password (?), DailyRecord

*Unsure whether this is truly a valid class given my very limited experience with authentication services.

Narration

User: Viewer, I want to log in to view my information. Viewer: User, let me see your password and user name. User: Viewer, here's my information. Viewer: Controller, can you validate the User's credentials? Controller: Model, please tell me if these credentials belong to a legitimate user. Model: Controller, yep. Let her through. Controller: Viewer, info checks out. She's legit. Viewer: User, here is your dashboard and home page.