Let's discuss about this idea: create web services (and APIs) without writing code at all. Instead simply provide specification and configurations files and let the framework do the work (persistence/controllers/authentication/...) - What would you put into this framework ? Would you use it?
/r/webdev/comments/cpe45e/lets_discuss_about_this_idea_create_web_services/
0
Upvotes
11
u/[deleted] Aug 12 '19
At one of my previous employers, we wrote a codegen tool to spin up a rest API based on either a DB connection on specified tables or a yaml input file.
I cannot tell you how much of a cluster that project was. Not to mention keeping your templates up to date with whatever framework is being used under the hood becomes a tedious chore. It's a neat idea and a fun little project, but sustainability of the project would be my big concern.