Introduction
Building a website with Laravel, React, and Inertia
()
What you should know to build your website
()
1. Building the API in Laravel
Getting started: Creating a new Laravel project
()
Creating a Post resource
()
Creating a seeder and a factory
()
Creating Post API resource
()
Creating PostController index and store methods
()
Creating PostController show, update, and destroy methods
()
Challenge: Testing API Endpoints with PHPUnit
()
Solution: Testing API Endpoints with PHPUnit
()
2. Using React with Laravel API
React and Laravel setup
()
Creating the Home and About pages
()
Creating website navigation
()
Displaying posts on a website
()
Refactoring to components
()
Fetching posts from Laravel API
()
Creating a new post
()
Updating a post
()
Deleting a post
()
Challenge: Show individual post page
()
Solution: Show individual post page
()
3. Using Inertia.js
Introduction to Inertia.js
()
Getting started with a new Inertia project
()
Creating a Post resource
()
Creating the Home and About pages
()
Creating an Inertia navigation
()
Changing the website title
()
Displaying posts
()
Creating posts
()
Displaying a single post
()
Updating posts
()
Deleting posts
()
Challenge: Show a flash message
()
Solution: Show a flash message
()
Conclusion
Building your website
()