Thank you for your interest in contributing! This guide will help you get started.
- Java 25 (Eclipse Temurin recommended)
- Maven 3.8.7+ (or use the included
./mvnwwrapper) - Docker & Docker Compose (for running PostgreSQL, Redis, and Kafka locally)
-
Clone the repository:
git clone https://github.com/Tzesh/SpringBootTemplate.git cd SpringBootTemplate -
Start infrastructure services:
docker compose up -d db redis zookeeper kafka
-
Build the project:
./mvnw clean install
-
Run the application:
./mvnw -pl spring-boot-template-api spring-boot:run
- Indentation: 4 spaces (no tabs)
- Line endings: LF (Unix-style)
- Charset: UTF-8
- Use Lombok annotations where appropriate (
@RequiredArgsConstructor,@Getter, etc.) - Follow existing patterns in
BaseService,BaseEntity, andBaseDTO - Keep controllers thin — business logic belongs in services
master— stable, release-ready codefeature/<name>— new featuresfix/<name>— bug fixesrelease-<version>— release branches
- Create a feature or fix branch from
master - Make your changes with clear, focused commits
- Ensure all tests pass:
./mvnw clean verify - Open a PR against
master - Provide a clear description of your changes
- Wait for review and address feedback
- Write unit tests for new services and controllers
- Place tests in the corresponding
src/test/javadirectory - Run tests:
./mvnw test - Check code coverage reports in
target/site/jacoco/
Open an issue on GitHub if you have questions or need help.