Deploy Laravel Backend API, Admin Panel and SPA Front End On The Same Domain
Hi. I have a project where I want my backend API and the admin panel to be on Laravel. The admin panel will use blade templates. But I want my client frontend to be SPA like Svelte or something, and then connect it to the Laravel API. And I want them all to be on the same domain, for example: mydomain.com. What is the best approach? Either by using subdomains or different paths like /api , /admin. I am really confused, and I don't know how must I manage all of these.