I've been developing several front-end web-applications recently that bind against a database using a RESTful CRUD api.
I've noticed a massive amount of boilerplate code going into defining the API. For example, on the back-end I define a db-schema, controller, api endpoint, and view-model. On the front-end, I expose events, consume the view-model, bind my data, and hook up my UI.
Instead of re-implementing a set of CRUD API actions each time I add to my db-schema, it seems it would be easier to create a management system that would automatically create API actions based on db schema. Then implement a similar generic binding on my front end.
Is there a design pattern, development process, developing methodology, etc. for this?