Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Conversation

@vagprogrammer
Copy link

@vagprogrammer vagprogrammer commented Aug 29, 2021

Status Type Ticket
Ready Feature Feature #44

Problem

Users of secretly can't see posts' comments

Solution

How did you solve the problem?

Using the endpoint below, we'll allow users to see the comments of a post and also the ability to add a comment

Get Comments
GET /api/v1/posts/:post_id/comments

Create Comment
POST /api/posts/<POST ID>/comments
BODY { "content": "your content goes her" }

Before & After Screenshots

Before After
noComments.mp4
Comments.mp4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants