From the course: Building a Website with Laravel, React.js, and Inertia
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Challenge: Show individual post page - Laravel Tutorial
From the course: Building a Website with Laravel, React.js, and Inertia
Challenge: Show individual post page
(upbeat music) - [Instructor] Welcome to this challenge. We have almost finished our React application. There is only one last thing missing. We haven't created a page to display the details of a single post, and this is what I'm going to ask you to do now. You will need to create a new route. You will also need to create a new component. And finally, you will need to add a functionality to enable the user to click through to the page, either by adding another button, for example, view post, or by turning the title of the post into a link that will take the user to the next page. This is up to you. Everything you need to know to complete this challenge we have already implemented. You can go back and see how to create a route, how to create a component, how to click through to another page, or how to parse the data. Good luck and I will see you in the next video where I will walk you through my own solution to this challenge.
Contents
-
-
-
-
React and Laravel setup3m 32s
-
(Locked)
Creating the Home and About pages1m 52s
-
(Locked)
Creating website navigation3m 24s
-
(Locked)
Displaying posts on a website2m 10s
-
(Locked)
Refactoring to components1m 52s
-
(Locked)
Fetching posts from Laravel API2m 22s
-
(Locked)
Creating a new post3m 43s
-
(Locked)
Updating a post2m 40s
-
(Locked)
Deleting a post1m 42s
-
(Locked)
Challenge: Show individual post page56s
-
(Locked)
Solution: Show individual post page2m 4s
-
-
-