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
ἔρως
ἔρως5mo ago
yes, and a common setup is laravel + react
ItsAmjed
ItsAmjedOP5mo ago
is it hard ? bcz am not femiliar with laravel and not that good at php
caldane
caldane5mo 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
ItsAmjedOP5mo 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
ἔρως
ἔρως5mo ago
react has server components and can do backend stuff
glutonium
glutonium5mo 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
ἔρως
ἔρως5mo ago
or even firebase
ItsAmjed
ItsAmjedOP5mo ago
is it complicated to do api with php ?
ἔρως
ἔρως5mo ago
not at all specially if you use laravel
Want results from more Discord servers?
Add your server