create-spring-boot-java-project
Installation
Summary
Generate a Spring Boot 3.4.5 project skeleton with PostgreSQL, Redis, MongoDB, and Docker Compose.
- Scaffolds a Maven-based Spring Boot project with Java 21, including Lombok, Spring Data JPA, Spring Web, caching, and validation dependencies
- Pre-configures application.properties with connection details for PostgreSQL, Redis, and MongoDB, plus SpringDoc OpenAPI for API documentation
- Generates a docker-compose.yaml file with Redis 6, PostgreSQL 17, and MongoDB 8 services, each with persistent volumes and default credentials
- Adds ArchUnit for architecture testing and springdoc-openapi for Swagger UI integration out of the box
- Requires Java 21, Docker, and Docker Compose installed locally; customizable project name and Spring Boot version via template parameters
SKILL.md
Create Spring Boot Java project prompt
-
Please make sure you have the following software installed on your system:
- Java 21
- Docker
- Docker Compose
-
If you need to custom the project name, please change the
artifactIdand thepackageNamein download-spring-boot-project-template -
If you need to update the Spring Boot version, please change the
bootVersionin download-spring-boot-project-template
Check Java version
- Run following command in terminal and check the version of Java
java -version