REST API — Spring Boot 3.4 Architecture Blueprint

Scaffold production-ready REST API for Spring Boot 3.4: Layered architecture with RESTful controllers, JPA repositories, DTO validation, and OpenAPI 3 Swagger UI. Pre-wired JPA, starters, and Docker Compose.

Overview & Architecture Pattern

Layered architecture with RESTful controllers, JPA repositories, DTO validation, and OpenAPI 3 Swagger UI.

Architecture Pattern: Web & APIs

Primary Use Case: Clean-architecture REST microservices, CRUD endpoints, and SPA decoupled backends.

Included Dependencies & Starters

spring-boot-starter-web, validation, springdoc-openapi, data-jpa, h2

Domain Entities & Scaffolding Defaults

User (id, username, email, active, createdAt)

Quickstart: Running Your Project

# 1. Start required infrastructure containers
docker compose up -d

# 2. Run the Spring Boot 3.4 application (Maven)
./mvnw spring-boot:run

# Or run with Gradle
./gradlew bootRun

Frequently Asked Questions

What starters are included in the REST API blueprint?
The REST API blueprint includes spring-boot-starter-web, validation, springdoc-openapi, data-jpa, h2, pre-configured application.yml properties, and production-ready connection pools.
How do I run the generated REST API project locally?
Extract the downloaded ZIP, start dependencies with 'docker compose up -d', and execute './mvnw spring-boot:run' (Maven) or './gradlew bootRun' (Gradle).
Can I customize entities and database schemas in this blueprint?
Yes, SpringForge allows you to visually add or modify JPA entities, field types, validation rules, and relational mappings, or import SQL DDL schemas.