Loading...
Loading...
Complete Java Spring Boot skill set for building enterprise applications. Includes modular architecture with optional components: - PostgreSQL database with JPA/Hibernate + Flyway migration - Redis caching (optional) - Kafka/RabbitMQ messaging (optional, choose one) - JWT + OAuth2 authentication (optional OAuth2) - RBAC authorization (optional) - TDD with Mockito - Spec-First Development with OpenSpec
npx skill4agent add mduongvandinh/skills-java-spring spring-boot-full-stack# Minimal setup (PostgreSQL + JWT only)
mvn clean install -Pminimal
# With Redis caching
mvn clean install -Dmodule.redis.enabled=true
# Full stack (all modules)
mvn clean install -Pfull-stack
# Run application
mvn spring-boot:run -Dspring-boot.run.profiles=local| Module | Default | Enable Flag |
|---|---|---|
| PostgreSQL | ON | |
| Redis | OFF | |
| Kafka | OFF | |
| RabbitMQ | OFF | |
| OAuth2 | OFF | |
openspec/specs/# Without Docker (services installed locally)
make dev
# With Docker infrastructure
make dev-docker
# Full Docker deployment
docker compose --profile with-app up -dspring-project-initspring-maven-modularspring-error-handlingspring-validationspring-loggingspring-testingspring-tdd-mockitospring-openspecspring-redisspring-kafkaspring-rabbitmqspring-oauth2spring-rbacspring-dockerspring-api-docsspring-monitoringsrc/
├── main/
│ ├── java/
│ │ └── com/company/app/
│ │ ├── config/ # Configuration classes
│ │ ├── controller/ # REST controllers
│ │ ├── service/ # Business logic
│ │ ├── repository/ # Data access
│ │ ├── domain/ # Entities
│ │ ├── dto/ # Data transfer objects
│ │ ├── exception/ # Custom exceptions
│ │ └── security/ # Security configuration
│ └── resources/
│ ├── application.yml
│ ├── application-local.yml
│ ├── application-dev.yml
│ ├── application-prod.yml
│ └── db/migration/ # Flyway migrations
├── test/
│ └── java/
│ └── com/company/app/
│ ├── unit/ # Unit tests
│ └── integration/ # Integration tests
└── openspec/
├── AGENTS.md
├── specs/ # Feature specifications
└── changes/ # Proposed changes