We are using nodejs and cassandra for backend stuff. In past few months we wrote same CRUD code for different apps. I am thinking of some way to automatically generating CRUD code. I came across metaprogramming, DSL related articles but nothing specific to javascript or node.
I am now thinking of writing that piece on my own. As i can see it will involve lot of file I/O. But little worried about technical debt. Do you think that is a good approach. Any recommended way to do it?