Monday, 10 February 2020

Separating your backend project from frontend projects

When I’m creating a web application, I like to separate it in to two projects. A web API (backend) and a web UI (frontend). Built as separate projects, the backend is a RESTful API only, and the frontend is something like Angular.js or Vue.js.It seems like some people are choosing to have the Node.js application serve the user interface HTML, JS, and CSS.Does anyone have any articles or feedback about the different approaches? I think my way is great, but people seem to be choosing the other way more often, and to me it doesn’t seem very SOLID. It looks like a bit of a nightmare, turning Node.js IN to something that looks more like an old school PHP web application.

Submitted February 10, 2020 at 10:51PM by subspacemonkey

No comments:

Post a Comment