Chapter 7. Posting Content
Chapter 6, Adding Friendship Capabilities, was about adding friendship capabilities. The ability to connect with other users in a social network is important. However, it is even more important to provide an interface to generate content. In this chapter, we will implement the logic behind content creation. We will cover the following topics:
- Posting and storing text
- Showing the user's feed
- Posting files
Posting and storing text
As in the previous chapters, we have a feature that requires changes in both the frontend and backend parts of our application. We will need an HTML form that accepts the user's text, a new model that handles the communication with the backend, and of course, changes in the API. Let's start by updating ...
Get Node.js By Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.