Nice tutorial however, there seems to be a major piece missing from this tutorial. After creating the Laravel project one must run the artisan command "php artisan install:api", otherwise nothing will work. I spent quite some time wondering how and from where did the file api.php under routes appeared when normal installation does not include such a file. Finally I found it in the documentation under Laravel Sanctum.
@@gamesdetector6214 ofcoz in laravel 11.the api.php file in route folder is not included however it can be included after running the command "php artisan install:api",.
thanks a lot for this fantastic tut and I have one question: why did you use 'useEffect' hook to set user data in the 'defaultLayout'? didn`t u update it after register and also after login ? thanks advanced
this is great! thanks a lot sir. i suggest, how work frontend react js and backend laravel with different files and how it link to each other, please make a video it helps more devs here and this is a best practice. thanks a lot.
Hello George nice work, but I got problem with the api setup on laravel side. So, I'm using laravel 11, after submitting the register form, I can see from the console saying that the api not found, and I run 'php artisan route:list' it returns the route without the login, register and logout route. Anyone know how to fix this ? Thanks in advance
Please make a travel website tutorial using laravel 11 with MySQL and react js
This is actually great . You can learn a lot in just a little over one hour.
dude nice tutorial, helped me a lot. you earned a new subscriber 🤟
Very helpful ❤❤
Glad it was helpful!
Nice tutorial however, there seems to be a major piece missing from this tutorial. After creating the Laravel project one must run the artisan command "php artisan install:api", otherwise nothing will work.
I spent quite some time wondering how and from where did the file api.php under routes appeared when normal installation does not include such a file. Finally I found it in the documentation under Laravel Sanctum.
this command only required if you r using laravel 11 , if you using for example laravel 9 it will be installed by default with installation
@@gamesdetector6214 ofcoz in laravel 11.the api.php file in route folder is not included however it can be included after running the command "php artisan install:api",.
I just subscribed to your channel. Great tutorial and hope you will be creating real projects like ecommerce, blogging with this same frameworks
thanks a lot for this fantastic tut and I have one question: why did you use 'useEffect' hook to set user data in the 'defaultLayout'? didn`t u update it after register and also after login ? thanks advanced
this is great! thanks a lot sir. i suggest, how work frontend react js and backend laravel with different files and how it link to each other, please make a video it helps more devs here and this is a best practice. thanks a lot.
How to npm build and deploy to webhosting?
Hello George nice work, but I got problem with the api setup on laravel side. So, I'm using laravel 11, after submitting the register form, I can see from the console saying that the api not found, and I run 'php artisan route:list' it returns the route without the login, register and logout route. Anyone know how to fix this ? Thanks in advance
Im having the same problem, when u have the answer please notify me
@amirulafanndy9119
Not sure if you already have the solution, try 'php artisan cache:clear' then 'php artisan route:list' ... hope this helps
@@roeldingle8481 fyi in laravel 11 u can 'php artisan optimize:clear' to clear all cache
run php artisan install:api
The text in the tutorial is very small. You need to use a different terminal and place its window in the middle of the screen.
you use AI to generate the voice?
Yes i do
Please make Laravel JWT api with react
ruclips.net/video/n-cimoQH9KU/видео.html
Nice, am waiting for redux toolkit instead of context api❤ for authentication
Maybe in the next project we will learn how to use redux
Sir, can you add ionic-react authentication on that? For mobile
I don’t think you should use “get” on the logout route. Other than that, nice tutorial.
why you did not use Inertia + React ?
Most of companies uses api to seprate back and front end to divide the job and be more suitable and reuseable
@@عليالعصفوري-ط4ض is it fine that he created a project folder within laravel folder itself?
❤❤❤❤
Thank you for this tutorial. Can you make real projects? Please ☺️☺️
make laravel and react ecommerce
Copy pasta xddd src: ruclips.net/video/qJq9ZMB2Was/видео.html
Hi @Code_with_George I get a 403 forbidden response whenever Ii try to edit or save a new user, please help me!