Node.js Mongoosejs Crud scaffolding
I guess you could try to use RailwayJS? It has an example as well for setting up a CRUD scaffold:
railway init blog && cd blognpm install -lrailway generate crud post title contentrailway server 8888open http://127.0.0.1:8888/posts
EDIT
There are a couple of alternatives, but I think Railway is your best bet, unless I misunderstand your question. You could implement something yourself, as was already suggested. For more on these alternatives, see these StackOverflow questions (you are not the first to ask this):
I created bumm, a command line tool for generating express project skeletons and scafflod models/routes/views that could fit your needs. The view generation is not exactly what you might want since bumm does not parse an existing model but expects the model fields to be passed as command line parameters. But it's open source...
I'm using MEANJS (www.meanjs.org) and it has a yeoman generator which doesn't only generate the seed app, but can generate a module for you which includes mongoose models, expressjs routes and controllers and the same for angular for a crud, but you can't specify the fields (got to code those in after the generator does the plumbing for you).
I would love to see them expand it to some generator where I can specify the fields and their type.