Sunday, February 3, 2019

jhipster

jHIPSTER


Do you know what is jHipster?
jHipster  is a free and open-source application generator used to quickly develop modern web applications and Microservices using Angular or React and the Spring Framework, distributed on Apache Licence...



Examples:

sudo npm install -g generator-jhipster

# to run:
jhipster

WARNING! Deprecated: JHipster seems to be invoked using Yeoman command. Please use the JHipster CLI. Run jhipster instead of yo jhipster:

                            https://www.jhipster.tech


Welcome to JHipster v5.8.1
Application files will be generated in folder: /home/kris/angularjs-jhipster
 _______________________________________________________________________________________________________________

Interactive:

? Which *type* of application would you like to create? (Use arrow keys)                                                                                                                        
❯ Monolithic application (recommended for simple projects)                                                                                                                                      
  Microservice application                                                                                                                                                                      
  Microservice gateway                                                                                                                                                                          
  JHipster UAA server (for microservice OAuth2 authentication)  
  
----
WARNING! Java 1.8 is not found on your computer. Your Java version is: 10.0.2
? Which *type* of application would you like to create? Monolithic application (recommended for simple projects)
? What is the base name of your application? SpringBootWithJhipsterApp
? What is your default Java package name? eu.microwebservices.awesomejhipster
? Do you want to use the JHipster Registry to configure, monitor and scale your application? No
? Which *type* of authentication would you like to use? HTTP Session Authentication (stateful, default Spring Security mechanism)
? Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle, MSSQL)
? Which *production* database would you like to use? MySQL
? Which *development* database would you like to use? H2 with disk-based persistence
? Do you want to use the Spring cache abstraction? Yes, with the Ehcache implementation (local cache, for a single node)
? Do you want to use Hibernate 2nd level cache? Yes
? Would you like to use Maven or Gradle for building the backend? Maven
? Which other technologies would you like to use? Asynchronous messages using Apache Kafka
? Which *Framework* would you like to use for the client? Angular
? Would you like to enable *SASS* stylesheet preprocessor? No
? Would you like to enable internationalization support? Yes
? Please choose the native language of the application English
? Please choose additional languages to install Polish
? Besides JUnit and Jest, which testing frameworks would you like to use? 
? Would you like to install other generators from the JHipster Marketplace? (y/N) n


  "generator-jhipster": {
    "promptValues": {
      "packageName": "eu.microwebservices.awesomejhipster",
      "nativeLanguage": "en"
    },
    "jhipsterVersion": "5.8.1",
    "applicationType": "monolith",
    "baseName": "SpringBootWithJhipsterApp",
    "packageName": "eu.microwebservices.awesomejhipster",
    "packageFolder": "eu/microwebservices/awesomejhipster",
    "serverPort": "8080",
    "authenticationType": "session",
    "cacheProvider": "ehcache",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "prodDatabaseType": "mysql",
    "searchEngine": false,
    "messageBroker": "kafka",
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "rememberMeKey": "****************************************",
    "clientFramework": "angularX",
    "useSass": false,
    "clientPackageManager": "npm",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": [],
    "enableTranslation": true,
    "nativeLanguage": "en",
    "languages": [
      "en",
      "pl"
    ]
  }
}
".yo-rc.json" [Incomplete last line] 41 lines, 1226 characters


or

Welcome to JHipster v5.8.1
Application files will be generated in folder: /home/kris/microservicejhipster


WARNING! Java 1.8 is not found on your computer. Your Java version is: 10.0.2
? Which *type* of application would you like to create? Microservice application
? What is the base name of your application? MicroServApp
? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to avoid port conflicts. 8081
? What is your default Java package name? eu.microwebservices.awesomemicroserviceapp
? Which service discovery server do you want to use? JHipster Registry (uses Eureka, provides Spring Cloud Config support and monitoring dashboards)
? Which *type* of authentication would you like to use? OAuth 2.0 / OIDC Authentication (stateful, works with Keycloak and Okta)
? Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle, MSSQL)
? Which *production* database would you like to use? Oracle (Please follow our documentation to use the Oracle proprietary driver)
? Which *development* database would you like to use? H2 with in-memory persistence
? Do you want to use the Spring cache abstraction? Yes, with the Ehcache implementation (local cache, for a single node)
? Do you want to use Hibernate 2nd level cache? Yes
? Would you like to use Maven or Gradle for building the backend? Maven
? Which other technologies would you like to use? Asynchronous messages using Apache Kafka
? Would you like to enable internationalization support? Yes
? Please choose the native language of the application English
? Please choose additional languages to install Polish
? Besides JUnit and Jest, which testing frameworks would you like to use? 
? Would you like to install other generators from the JHipster Marketplace? (y/N) 

WARNING! You have selected Oracle database.
Please follow our documentation on using Oracle to set up the 
Oracle proprietary JDBC driver.

Server application generated successfully.

Run your Spring Boot application:
./mvnw
INFO! Congratulations, JHipster execution is complete!
kris@kris-CR61:~/microservicejhipster$ 

{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "eu.microwebservices.awesomemicroserviceapp",
      "nativeLanguage": "en"
    },
    "jhipsterVersion": "5.8.1",
    "applicationType": "microservice",
    "baseName": "MicroServApp",
    "packageName": "eu.microwebservices.awesomemicroserviceapp",
    "packageFolder": "eu/microwebservices/awesomemicroserviceapp",
    "serverPort": "8081",
    "authenticationType": "oauth2",
    "cacheProvider": "ehcache",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "h2Memory",
    "prodDatabaseType": "oracle",
    "searchEngine": false,
    "messageBroker": "kafka",
    "serviceDiscoveryType": "eureka",
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "****************************************",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": [],
    "enableTranslation": true,
    "clientPackageManager": "npm",
    "nativeLanguage": "en",
    "languages": [
      "en",
      "pl"
    ],
    "skipClient": true,
    "skipUserManagement": true
  }
".yo-rc.json" [Incomplete last line] 41 lines, 1313 characters

No comments: