Skip to content

Conversation

@elyor-doniyorov
Copy link

add API endpoints

In this PR:

  • Create an API endpoint to list all posts.
  • Create an API endpoint to list all comments for a post.
  • Create an API endpoint to add a comment to a post.
  • Add authentication to API endpoints.
  • API endpoints should receive JSON and respond to JSON.

mugberto added 30 commits April 5, 2021 14:58
- Change ruby version to 2.7.1
- Change rails version to 6.0.3.5
- Run migration
And its associations with the user model
It is modified to return only user's posts or his friends posts
Changes to all implicated files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants