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.
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
dude nice tutorial, helped me a lot. you earned a new subscriber 🤟
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
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
Very helpful ❤❤
Glad it was helpful!
Sir, can you add ionic-react authentication on that? For mobile
Thank you for this tutorial. Can you make real projects? Please ☺️☺️
Please make Laravel JWT api with react
ruclips.net/video/n-cimoQH9KU/видео.html
you use AI to generate the voice?
Yes i do
Nice, am waiting for redux toolkit instead of context api❤ for authentication
Maybe in the next project we will learn how to use redux
❤❤❤❤
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
@@user-kb6lz3ej5v is it fine that he created a project folder within laravel folder itself?
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!