CORS permission error with Laravel 10 backend and React Docker frontend”
I’ve been searching for an answer or solution for hours, but nothing works. I have a back-end in LARAVEL 10 deployed in Docker using a php:8.1-apache image, and my front-end is in REACT running on nginx:1.27.0. Everything is currently running locally.
Could someone judge my usage of React inside a Laravel app?
I’m coming from a React background working on an existing Laravel project and have figured out a way to use React inside Laravel, and here’s how i”m doing it.
Using Laravel in a REACT application
Eu tenho uma hospedagem compartilhada onde utilizo React para o front-end, e desenvolvi uma API em Laravel para o back-end. Gostaria de saber se é possível colocar essa API em um subdomínio da minha aplicação React. Isso funcionaria sem problemas? Existem configurações específicas que devo considerar ao fazer isso? Alguém poderia me dar algumas dicas?