Integration Camunda into Angular/Spring App

Hello,

I have a working Angular Webapp which communicates with a Java Spring Boot Backend (runs on integrated Tomcat of IntelliJ) using REST (http://localhost:4200/springboot-crud-rest/app_api/v1/<rest_call>).

When I add the following Maven Dependencies to my backend project, the start up is fine. However, I’m not able to open the Camunda UI using localhost:8080. Sorry if that question is trivial, but I’m a newbe in this topic.

<dependency>
    <groupId>com.h2database</groupId>
    <artifactId>h2</artifactId>
    <scope>runtime</scope>
</dependency>
<dependency>
    <groupId>org.camunda.bpm.springboot</groupId>
    <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
    <version>3.4.0</version>
</dependency>
<dependency>
    <groupId>org.camunda.bpm</groupId>
    <artifactId>camunda-engine</artifactId>
    <version>7.12.0</version>
    <scope>provided</scope>
</dependency>

Also a question about the application.yaml. My backend project already have an application.properties file where I store DB-related configurations. Can I just add the application.yaml file next to it?

Hi @DennyRyan,

You have to add the below dependency:
<dependency>
<groupId>org.camunda.bpm.webapp</groupId>
<artifactId>camunda-webapp</artifactId>
<version>7.9.0</version>
<scope>runtime</scope>
</dependency>

This dependency will support of WebApps like cockpit, tasklist, etc. so just update the Maven backend project and hit the localhost:8080.

The correct dependency for added the webapps to a spring boot project is:

  <dependency>
      <groupId>org.camunda.bpm.springboot</groupId>
      <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
      <version>3.4.1</version>
    </dependency>

You can generate your own spring boot project at start.camunda.com

1 Like