MERN Social is a social media application with rudimentary features inspired by existing social media platforms such as Facebook and Twitter. The main purpose of this application is to demonstrate how to use the MERN stack technologies to implement features that allow users to connect or follow each other, and interact over shared content. While building out MERN Social in this chapter, we will go over the implementation of the following social media-flavored features:
- User profile with a description and a photo
- Users following each other
- Who to follow suggestions
- Posting messages with photos
- Newsfeed with posts from followed users
- Listing posts by user
- Liking posts
- Commenting on posts
You can extend these implementations further, as desired, for more complex features. The MERN Social home page looks as follows:
The code for the complete MERN Social...