Login required for access
In order to watch this lesson, you'll need to login to the website.
Create and Display Comments
Fullstack Social iOS NodeJS REST
In order to view this lesson, you must purchase this course.
With our HTML form now created, we're going to enable our server so that it can consume comments for different posts in the system. First we'll expose a route that takes in a post slug id. Next we can read the text information from our request body and create a brand new comment object that will be associated to the current post. Finally we need to display all comments in a vertical list that belong to the post details page. Doing so using a v-for loop in Vue will be super simple.

Comments (2)
3 years ago
Udin Rajkarnikar
4 years ago
Udin Rajkarnikar
4 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.