Apr 05, 2017 02:29 PM|sean_walsh|LINK
I've recently open-sourced a tool I use to do a lot of the grunt-work on websites I build, and would be interested to get any feedback.
You basically create a project, then create entities, then define fields for those entities, and then set up relationships between the entities.
The system then generates a whole bunch of files for you: a Model for Entity Framework to use, a WebApi Controller, a Search webpage with the AngularJS controller to search the records in that entity, an Edit webpage and AngularJS controller to handle the
create/edit/delete, and a bunch more files like the ngResource, the ngRouter code, etc.
I've uploaded it to GitHub here: https://github.com/capesean/codegenerator
And there's a hosted (demo) version here: http://codegenerator.sitedemo.co.za/
It requires a login - but for the demo you can use email email@example.com and password L3tM3!n
It is still a little rough around the edges, but if it gets any interest I'll put more effort in. Feedback welcomed!
Also - any suggestions where I could publicize this?
Here's a blog post that I've just created, explaining it in more detail.
Below is a screenshot of the system generating a WebApi controller for the demo project's Customer entity: