dimanche 23 mai 2021

MVC alternative? What architecture to use if view is detached a standalone restAPI

I have a back-end restAPI - Express + Postgress.

And I have a front-end React application.

Clearly the view is detached from one backend, front-end merely communicate with restAPI over http whehter to fetch data or get session cookies. Then the model of MVC don't fully comply here (at least not tightly held tighter if it were all in one server that also serve html), is there alternate architecture i should follow? Or should i contineu to build the backend as if it were using the MVC architecture but skipping the view?

Much appricated




Aucun commentaire:

Enregistrer un commentaire