Serving data in the front end needs to have URLs, at first we will define only 2 paths, our home view which we will use as the list of all blog posts view, and a detailed view for each post we will achieve a unique URL using the at first. Eventually to have more beautiful views will try to use slugs.
Serving data in the front end needs to have URLs, at first we will define only 2 paths, our home view which we will use as the list of all blog posts view, and a detailed view for each post we will achieve a unique URL using the at first. Eventually to have more beautiful views will try to use slugs.