Skip to content

Add voting handler #8

@ansgarS

Description

@ansgarS

Is your feature request related to a problem? Please describe.
The bistro server should provide a possibility to manage menu votes.

Describe the solution you'd like
The following routes have to be served:

PUT /voting/<MenuId> { rating: Float }
RETURNS { userRating: Float, communityRating: float }

GET /voting/<MenuId>
RETURNS { userRating: Float, communityRating: float }

Describe alternatives you've considered
Not yet.

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions