Spring Boot Maven Angular Starter

screenshot of Spring Boot Maven Angular Starter

Spring Boot 2.x Angular 9 Multi-module Maven Starter Project

Overview

The spring-boot-maven-angular-starter is a multi-module Spring Boot Angular Maven starter app designed with good defaults for building monolithic applications. It provides a productive setup for developing Spring Boot Angular projects. The web application is divided into two Maven modules - backend for Java code and ui for Angular frontend code.

Features

  • Multi module Maven project: Modularize backend and frontend code separately.
  • Maven wrapper: Bundled Maven wrapper eliminates the need to install Maven.
  • Checkstyle and ErrorProne: Enforce coding standards and detect errors in code.
  • Frontend as a WebJar: Angular app is packaged as a WebJar for easy deployment.
  • CORS enabled: Configured to enable CORS for seamless communication between frontend and backend.
  • REST API base path: Configurable base path for REST APIs (default set to /api).
  • Maven release plugin and CI: Preconfigured for TravisCI as a continuous integration server.

Summary

The spring-boot-maven-angular-starter is a comprehensive tool for building monolithic Spring Boot Angular applications. With features such as multi-module project structure, Maven wrapper, Checkstyle, ErrorProne integration, and CORS support, it provides a productive environment for development. Whether running the backend with Spring Boot DevTools or starting the frontend using npm, this starter simplifies the setup process and promotes efficient development practices.