First laravel and react js application. Need suggestions
As the title says its my first time with laravel and a front-end framework, in this case I choose react because I have a little bit more experience then others.
I have 3 main questions:
What Auth provider? In my tests I used sanctum and worked perfectly, but a lot of tutorials uses passport. Note: maybe in The future I need to consume the api with a mobile app.
For the moment I think I will start building the front-end side "inside" laravel, I mean in the same project. How hard/easy will be to "eject" it and use two separate tier? And, focusing on this, answer to question 1 can still be valid?
Auth page: should be blade or react? If react should I use localStorage to store the login status?
As the title says its my first time with laravel and a front-end framework, in this case I choose react because I have a little bit more experience then others.
I have 3 main questions:
What Auth provider? In my tests I used sanctum and worked perfectly, https://getappvalley.com/ but a lot of tutorials uses passport. Note: maybe in The future I need to consume the api with a mobile app.
For the moment I think I will start building the front-end side "inside" laravel, I mean in the same project. How hard/easy will be to "eject" it and use two separate tier? And, focusing on this, answer to question 1 can still be valid?
Auth page: should be blade or react? If react should I use localStorage to store the login status?