Is the frontend completely distinct from the backend ?
I mean ... are the back and the front on distinct domains ?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everyone.
I am new to Laravel, so please have patience with me if this seems like a stupid question. I am currently trying to build an API in laravel. At the moment I can't figure out how to configure cors so that the API will accept request from my frontend that is currently running locally.
Lots of material I have read online refer to modifying files and folders that are not included in my app. Maybe I have done something wrong when creating the app, but I have tried recreating it multiple times
Please or to participate in this conversation.