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

Practice App: Implementing the API for comment #86

Closed
7 tasks done
palahb opened this issue May 10, 2022 · 1 comment · Fixed by #91
Closed
7 tasks done

Practice App: Implementing the API for comment #86

palahb opened this issue May 10, 2022 · 1 comment · Fixed by #91
Assignees
Labels
Prio: High Importance of Issue: High Status: Accepted Issue is reviewed, accepted Type: To Do Our tasks are labeled with this label.

Comments

@palahb
Copy link
Contributor

palahb commented May 10, 2022

Description

According to the endpoints we determined in the Meeting 10.2, comment/ endpoint should be implemented.

Main functionality of the comment/ endpoint of the project is that,

  • Getting all comments of a specific post with GET function of the API.
  • Creating a new comment for a specific post with POST function of the API.

Details of the comment API:

  • Using the weather external API in order to fetch current weather of a city if it exists
  • Getting all comments of a specific post by GET
  • Creating a new comment under a specific post by POST
  • Success or Error Response
  • Postman Test
  • Saving to Postman
  • Documentation

Requests and responses will be documented by using Postman.

Task Deadline: 14.05.2022 16:00

Review Deadline: 14.05.2022 20:00

Reviewers: @burakmert236, @Keremgunduz7

@palahb palahb added Prio: High Importance of Issue: High Type: To Do Our tasks are labeled with this label. Status: In Progress Issue is worked on, currently labels May 10, 2022
@palahb palahb self-assigned this May 10, 2022
@palahb palahb linked a pull request May 10, 2022 that will close this issue
@palahb
Copy link
Contributor Author

palahb commented May 10, 2022

All tasks are done.

Comment functionalities:

Using endpoint comment/api/<post-id> :
GET request: View all comments of the post with id <post_id>
POST request: Create a new comment under the post with id <post_id>

You can see the documentation and fork the collection here .

Keremgunduz7 added a commit that referenced this issue May 12, 2022
@palahb palahb added Status: Accepted Issue is reviewed, accepted and removed Status: In Progress Issue is worked on, currently labels May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: High Importance of Issue: High Status: Accepted Issue is reviewed, accepted Type: To Do Our tasks are labeled with this label.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant