Skip to content

MontiGem
Low-Code Web Application Development.
AI-Based Modeling at its best.

MontiGem assists developers to generate deployable web applications from class diagrams, simplifying the development process and allowing further customization with handwritten code.

Model-driven code generation from class diagrams
Complete solution for frontend and backend
Flexible and modular framework of GUI components
Preview
component MySignUpForm(Person p) {
  @Column(rowGap = "10px",
    components = [
      @TextInput(
        labelText = "Name:",
        placeholder = "Alice",
        entry = p.name
      ),
      @TextInput(
        inputType = "date",
        labelText = "Birth date:",
        entry = p.birthdate
      ),
      @Button(
        label = "Confirm",
        leftClick = signUp(p)
      )
    ]
  );
}
classdiagram Domain {
  class Person {
    String name;
    LocalDate birthday;
    String aboutMe;
  }
}
Tip: Click the labels to switch tabs.
90% less code through generation

MontiGem

Installing

Make sure you have installed the following dependencies: - Java 21 (check it with java -version) - Gradle 8.14.4 (check it with gradle --version) older versions may lead to an error with the jackson dependency - Building needs no credentials, dependencies are downloaded anonymously from the SE RWTH Nexus. - Only for publishing, make sure there is a file ~/.gradle/gradle.properties with your (SE RWTH) Nexus username and password. Example: - If that does not work, place the file in C:\Users\$USERNAME\.gradle

mavenUser=johndoe
mavenPassword=mySuperStrongPassword

In case you already have different versions of Java / Gradle and do not want to switch completely, we recommend SDKMan for managing different versions on the same computer.

On MacOS you might need to install additional packages: brew install pkgconfig pango cairo

After installing the dependencies, run gradle build in the top folder of the project.

Quick Start

You can try MontiGem using the Vis Lib Example.

  • In a terminal window, go to the examples/vis-lib folder and run gradle runServer, which will (deliberately) not finish
  • Once you see the following log message, you can continue: [INFO] UMLP API Status: RUNNING
  • Open http://localhost:4200/ in your browser
  • In your browser you can try to add new data to the tables
  • Once you're finished you can stop the server in the terminal window by pressing the CTRL and C keys

Get Started with MontiGem Today!

Take the Tour

Editor plugins

Project Structure

  • docs contains the documentation for MontiGem
  • examples contains examples that demonstrate commonly used features of MontiGem
  • experiments contains experiments that demonstrate edge cases of specific MontiGem features and, at the same time, are integration tests for MontiGem
  • umlp-rte contains the implementation of the run-time environment, i.e., the code that is the same for all applications
  • umlp-tool contains the implementation of the language, tool, and generator