I understand that the front end should be backend agnostic, meaning a REST API is a REST API.
Speaking to a number of developers for an upcoming project I am continually hearing that if we opt for Vue on the front end then we should use Laravel on the backend however if we use React then Express (Node) will work well.
Why would Vue.js care or even know what the back end was?
My preference is Vue Express, as I am familiar with Node.js
CodePudding user response:
Front-end frameworks are actually agnostic. Most would recommend you use two frameworks together because of how easy the blend is and how they've built their back-end around a front-end framework. You can keep using your Vue and Express which is not weird at all; I mean it's called a MEVN(MongoDB, Express, Vue.js, Node.js) stack.
CodePudding user response:
I think you can see the needs of the program you are going to make, and adjust what technology is good for the program