Generator questions reference - BlueOakJS/generator-blueoak GitHub Wiki

Questions the generator will ask

What type of project should this be?

Option Description
Client-side Only Generates only the angular front-end code.
Server-side Only Generates only the node.js back-end code.
Full Stack Generates both the angular front-end and node.js back-end code.

What would you like to call this project?

(Back-end option)

This is used as the name field in the package.json.

What is the purpose of this project?

(Back-end option)

This is used as the description field in the package.json.

What port would you like the server to run on?

(Back-end option)

The server will be configured to run on this port.

Does this project require a session?

(Back-end option)

If you answer yes to this question, the generator will add the session middleware to the node.js server.

What Angular modules would you like to have?

(Front-end option)

The generator will suggest a list of angular modules to include in your project. If there are any you don't want to include, deselect them from the list.

  • angular-animate.js (enable animation features)
  • angular-cookies.js (handle cookie management)
  • angular-touch.js (for mobile development)
  • angular-sanitize.js (to securely parse and manipulate HTML)
  • angular-messages.js (enhanced support for displaying messages within templates)
  • angular-aria.js (support for common ARIA attributes)

What type of client-side application should this be?

(Front-end option)

Option Description
SPA only The template will be setup to only build an angular SPA app.
SPA and IBM MobileFirst Platform Foundation application The template will be setup to build both an angular SPA and an IBM MobileFirst Platform (MFP) 7.1 app.
SPA and Cordova hybrid application The template will be setup to build both an angular SPA and an Apache Cordova app.

What is the app name? (should be 1 word)

(Front-end option) This will be used as the Cordova / MFP project name.

What is the app ID? (reverse-domain-style name: com.company.Name)

(Front-end option) This will be used as the Cordova / MFP package name, and will be used for the iOS bundle ID and Android package name.

Should the hybrid app run on iOS?

(Front-end option)

Should the iOS environment be created for Cordova / MFP?

Should the hybrid app run on Android?

(Front-end option)

Should the Android environment be created for Cordova / MFP?