calluswhatyouwant/musicritic

Create endpoint for retrieving the track review of the current user

JoseRenan opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

Create a endpoint like GET track/:id/reviews/me, which returns the track review of the logged user.

Describe the solution you'd like

The endpoint should search on the firestore for the track review of the current user, and return a JSON similar the one is returned on #84 .

If the review do not exists, you can return an error.

Additional context
This endpoint will be used to set the user rating on the track page sidebar and on the compose review screen.