Skip to content

Pet match like #27

@Tross0208

Description

@Tross0208

As a consumer,
When I send a post request to api/v1/pets/:id/match/like,
I am informed if a match has been made.

As the exposer(better word for this?),
When I receive a post request to api/v1/pets/:id/like,
I generate a Like object with both pets ids. I then search to see if another object exists with both ids.
If another object does exist, I return a JSON object with both tables to indicate a match

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions