Let's next learn how to render dynamic data. The "about" page of the site template we're using contains a list of articles. Let's create a model for these, store some records in the database, and then render them dynamically on the page.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.