@easierart It is totally up to your requirements. If you're only building a frontend web application then you can use inertiajs. Here you can use your frontend along with the power of the Laravel, but if you're building application for mobile devices too then creating API is advisable.
Oct 19, 2023
2
Level 3
Do I need to create an API in Laravel in order for it to communicate with a front end framework like vue or react?
I just finished a tutorial on creating a CRUD app in Laravel, and I have done a few tutorials covering vue and react, but I haven't done a tutorial yet which combines both the front end and backend together. Is it necessary to create an API to connect the front end and backend?
Level 12
3 likes
Please or to participate in this conversation.