amirs18 / astro-supabase-Apoint

https://astro-supabase-apoint.vercel.app
MIT License
2 stars 0 forks source link

Design reviews feature #18

Closed amirs18 closed 1 month ago

amirs18 commented 3 months ago

APoint

project

Review structure

This review should be under the provider. For avoiding scams and fake reviews a review option will be open to the user upon the end of the appointment.

interface Review{

    Review_id: int // automated
    User_id: int // automated
    Time_stamp: time // automated
    Appointment_id: int // automated
    service_id: List[varchar] // automated
    Rating: int // constraints: 1-5
    description: text // optional
    Picture_links: List[varchar] // optional | up to 2 or 3
    //in the future add many to many relation with services
}

Make sure to add to the provider an average of the rating.

@Idobenhamo