Skip to content

Query parameter search by actor #12

@skudz96

Description

@skudz96

Allow searching films by actor. Data comes with 4 stars, in this format:
"Star1": "Marlon Brando",
"Star2": "Al Pacino",
"Star3": "James Caan",
"Star4": "Diane Keaton",
router.get("/"), normal set up, go into try catch block. Can store {star} as req.query
Function that handles this can have a look through all "star" elements of every object, and return films that includes {star} user has requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions