Im working on a ERP product, In which backend logics are to be APIs. Right now I have around 80 Tables.

Proposal 1: Creating CRUD APIs for all tables and manipulation of data to be handled in front End.

Proposal 2: Creating CRUD APIs with few Buffer APIs for Data manipulation (Business logics or joining multiple table) and sending the final json to front end?

Front End: Vue.js (Most likely)

Which proposal is better? Or If there is any better solutions I would love to listen.

没有正确的解决方案

其他提示

Having a large API to interface with the front end will guarantee that you have a large amount of business logic within a SPA framework. Having a layered amount distributed approach would be much better. If you have a business logic layer, that would solve a large code base in the view portion. There is a lot here that needs to be thought about. A post with minimal knowledge of the application in question couldn't possibly answer your questions.

许可以下: CC-BY-SA归因
scroll top