Implied in that issue is the notion that one day it would be nice when running the generator to be able to tell it you want to opt-in to a PostgreSQL config, or MongoDB, or SQLite, as well as populate some boilerplate MVC files for some common use cases, e.g. something like books as you say, so as to have an end-to-end example to follow.
At present, if you follow the advanced mode in the generator, some of the questions you get include:
...
? Which CSS preprocessor would you like to use? LESS
? Which JS compiler would you like to use? UglifyJS
? Where should data model files be located in the app's directory structure? mvc/models
? Where should view (HTML template) files be located in the app's directory structure? mvc/views
? Where should controller (Express route) files be located in the app's directory structure? mvc/controllers
? Do you want to use a HTML templating engine? Yes
? What templating engine do you want to use? (Supply npm module name.) teddy
...
I presume down the road, some questions we could add would include:
? Do you want to include a database config? [N/y]
[if Y] ? Which database config would you like to prepopulate? [pg/mysql/mongodb/sqlite/etc as possible options]
? Would you like to prepopulate the app with some MVC examples? [Y/n]
[if Y] ? Which examples would you like to prepopulate? [todo list/books/etc as possible options]
Implied in that issue is the notion that one day it would be nice when running the generator to be able to tell it you want to opt-in to a PostgreSQL config, or MongoDB, or SQLite, as well as populate some boilerplate MVC files for some common use cases, e.g. something like books as you say, so as to have an end-to-end example to follow.
At present, if you follow the advanced mode in the generator, some of the questions you get include:
...
? Which CSS preprocessor would you like to use? LESS
? Which JS compiler would you like to use? UglifyJS
? Where should data model files be located in the app's directory structure? mvc/models
? Where should view (HTML template) files be located in the app's directory structure? mvc/views
? Where should controller (Express route) files be located in the app's directory structure? mvc/controllers
? Do you want to use a HTML templating engine? Yes
? What templating engine do you want to use? (Supply npm module name.) teddy
...
I presume down the road, some questions we could add would include:
? Do you want to include a database config? [N/y]
[if Y] ? Which database config would you like to prepopulate? [pg/mysql/mongodb/sqlite/etc as possible options]
? Would you like to prepopulate the app with some MVC examples? [Y/n]
[if Y] ? Which examples would you like to prepopulate? [todo list/books/etc as possible options]