It wouldn't be much of a Twitter-clone if we didn't allow users to follow one another. Let's begin implementing that functionality now.
View the source code for this episode on GitHub.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.