Skip to content

UC-2: Pushing a new post to friends #2

@gtoutin

Description

@gtoutin

When a text post is created, push it out to the author's friends. Permissioning is handled.
This depends on #1 and #14 and #29

This is done when

  • The function that creates a new post calls another function to handle the pushing.
  • A pushing mechanism is implemented to share a post with other online users.
  • A pulling mechanism is implemented to receive new posts from other online users.

Acceptance criteria

  • Creating a post triggers pushing or the status of being available.
  • A post can be seen by a friend.

Test cases

  • Mock out the database. Create a user and a friend user. Create a post. Call the function to trigger the push. Test that the post is available.
  • Test the function that pulls in new posts for viewing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions