Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save leifjones/6662f72cec04bc16f6d34f16c85888be to your computer and use it in GitHub Desktop.
Save leifjones/6662f72cec04bc16f6d34f16c85888be to your computer and use it in GitHub Desktop.

Regarding

[prototyping] some backend functionality for a WebApp (using GraphQL or REST to CRUD a json feed...) (message on coda.io forum)

JHipster, and open-source tool for generating webapps with Java (Spring) back ends is great at this and can give you some excellent bonus features for free. Potential entry points, or things you may want to touch on along the way:

  • Their introductory video
  • Use JDL-Studio to map out the schema for an app.
  • Use JHipster to generate the webapp, and use the resulting README to get it started. Options include:
    • what to generate
      • just the back end (along with scripts to populate a DB, and/or even run the DB within Docker containers)
      • just a front end (outside scope of your question)
      • a set of microservices (1 or more back ends, with or without a front end, with or without an API gateway)
    • how to generate
    • how to design your schema
    • how to apply schema to the webapp
      • one entity at a time (see above)
      • import the JDL file created via JDL-Studio, one of the IDE integrations, or - once comfortable - free-style coding

Note: The JDL can even be used to assign certain entities to certain microservices when generating the whole application via command line.

Reach out if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment