Tsounguinzo / concordia-courses

A course search and review platform for Concordia University
https://concordia.courses
4 stars 4 forks source link

Add comments for reviews #30

Open Tsounguinzo opened 3 weeks ago

Young-W1 commented 2 weeks ago

Hi @Tsounguinzo. I am interested in working on this but I would need more information about the type of comments to add.

Tsounguinzo commented 2 weeks ago

text comments, with the ability to reply to a comment as well, a thread/nested comment

Tsounguinzo commented 2 weeks ago

@Young-W1 for the front end u can do like reddit for the backend I suggest the following:

public class Comment {
    private String _id;
    private String reviewId;
    private String userId;
    private String content;
    private LocalDateTime timestamp;
    private int likes;
    private String parentId; // ID of the parent comment
}

parentId will be used for nested comments

Young-W1 commented 2 weeks ago

Alright, thank you for providing more context. I would like to work on it. But only the backend with springboot. I currently know nothing about Svelte

Tsounguinzo commented 2 weeks ago

sure, make a PR when u done, ill add the frontend