cliftonc / express-mvc-bootstrap

Application template for a structured Node.js, Express, [Sequelizer in devel, Mongoose in master/Mongoose Branch], EJS & JQuery Application

Home Page:http://cliftonc.github.com/express-mvc-bootstrap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to regenerate MVC or pass in a schema when generating?

jacobSingh opened this issue · comments

This would be wicked of course, ala rails, etc.
From what I can tell, you get the scaffolding for free with a "name" attribute and then you have to do the rest. Is this a feature request or me not RTFM?

It's a feature request, you're not missing anything! We basically need to add the code into the create controller and create view scripts that scans the properties of the domain schema, and generates the code as required.

Happy for you to take a crack at it, otherwise it was something that was on my list, but wasn't sure how important it was, so was going to get around to it eventually!

Clifton