Php and node.js

can i work in front-end with reactJs and in the back-end with php and can link between the two ?
9 Replies
ἔρως
ἔρως7mo ago
yes, and a common setup is laravel + react
ItsAmjed
ItsAmjedOP7mo ago
is it hard ? bcz am not femiliar with laravel and not that good at php
caldane
caldane7mo ago
If you are not that good at php, do you have a specific use case that has locked you in? Maybe a different backend would be something you are more comfortable in.
ItsAmjed
ItsAmjedOP7mo ago
the problem is here idk any backend lang for now am just in front end tryin to be good at but i need full project to my graduation X( since i know that php can connect with react i think i'll figure out something
ἔρως
ἔρως7mo ago
react has server components and can do backend stuff
glutonium
glutonium7mo ago
if u need a backed just for the sake of having one , then ig u can just put a very simple nodejs server with express very simple api
ἔρως
ἔρως7mo ago
or even firebase
ItsAmjed
ItsAmjedOP7mo ago
is it complicated to do api with php ?
ἔρως
ἔρως7mo ago
not at all specially if you use laravel

Did you find this page helpful?