Overview: Social Media Posts

Get an overview of the topics covered in this chapter.

We'll cover the following

Social media already has authentication added on the frontend side. We can now authenticate the user through registration or login, fetch the user data, and show it. Now that we can store JWT tokens, we can make requests to the API for any protected resources, and we will start with the post resource.

In this chapter, we’ll focus on CRUD operations on posts. We’ll implement listing, creating, updating, and deleting post features. We will learn how to create and manage a Modal in React, how to handle a form from validation to submission, and how to design and integrate components into a React page.

Topics covered in this chapter

This chapter will cover the following topics:

  • Listing posts in a feed

  • Creating a post using a form

  • Editing and deleting a post

  • Liking a post

Get hands-on with 1200+ tech skills courses.