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