Resource based (things vs actions). The REST architectural style describes six constraints: • Uniform interface • Stateless • Client - Server • Cacheable • Layered System • Code on demands
String Unique id for the Story object (default value) caption String Caption of the Story image / imageUrl String / File Url of a background image or the Image itself author Pointer to User Author of the Story moments List<Moment> List of User’s moments in the Story collaborators List<User> List of collaborators for the Story createdAt Date Date when Story is created at (default value) updatedAt Date Date when Story is last updated (default value)
Unique id for the Story object (default value) story Pointer to Story The Story this Moment belongs to caption String Caption of the Moment image / imageUrl String / File Url of a background image or the Image itself comments List<Comment> List of comments in the Moment likesCount Number Number of likes for the Moment createdAt Date Date when Moment is created at (default value) updatedAt Date Date when Moment is last updated (default value)
stories where user is author ◦ (Create/POST) Create a new story • Story screen: ◦ (Create/POST) Add a new moment to the story ◦ (Create/POST) Add a new collaborator ◦ (Delete) Delete existing collaborator ◦ (Update/PUT) Update title of a Story • Moment screen: ◦ (Create/POST) Add a new comment ◦ (Delete) Delete existing comment ◦ (Create/POST) Add a new like ◦ (Delete) Delete existing like ◦ (Update/PUT) Update caption of a Moment
a story takes more than a week, it should be broken down) • Do not overcommit • Learn your teammates (their interest and work style) • Check in often (ex.: everyday stand up meeting)
b. Networking 2. Sprint Plan using GitHub project management flow: a. Project created b. Milestones created c. Issues created from user stories d. Issues added to project and assigned to specific team members