0

I want to create only an angular(frontend) application using JHipster from a config file like instead of answering questions one config file it should generate automatically

1 Answers1

1

You can design and generate your application using JDL. You can also use Jhipster Online to store your JHipster model files or even generate and download the whole application as a zip.

To give you a very tiny example of what you want:

application {
  config {
    baseName MyApp,
    applicationType monolith,
    authenticationType jwt,
    skipServer true
  }
  entities *
}

// Define your entities here

skipServer true will generate only the frontend, and the default frontend is Angular. I have not tested this with the last version, it's just so you get the general idea.

vicpermir
  • 3,544
  • 3
  • 22
  • 34
  • Is there any way to avoid those default modules(like admin,home,shared) generated by jhipster –  Nov 13 '19 at 09:05
  • how to run that file jhipster app jhipster-jdl.jh is not working –  Nov 13 '19 at 09:46
  • Well, there's the option `skipUserManagement` but the default value seems to be `true`. I dont know of a way to skip the other general use modules. As for the command, you can use `jhipster import-jdl your-jdl-file.jh`. – vicpermir Nov 13 '19 at 10:10