Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PodCast: handle user rating #184

Open
souvikbasu opened this issue Nov 1, 2020 · 1 comment
Open

PodCast: handle user rating #184

souvikbasu opened this issue Nov 1, 2020 · 1 comment
Assignees

Comments

@souvikbasu
Copy link
Member

Podcast will have an array of

userRatings : [
    {
        username: String,
        rating: Number (1-5)
        review: String
    }
]

and a starRating field which will be done on the podcast card.
The starRating field will calculated every time a podcast POST, PUT or DELETE is called. It will be calculated as an average of all the user rating in the array userRatings.

@Athira2199
Copy link

Hi would like to take up this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants