test-driven-spring-boot
Sample project for "Test-driven Spring Boot applications" training.
File Explorer
Download Latest Version (.zip)- block-existing-migrations.sh
- frame-template.html
- helper.js
- server.cjs
- start-server.sh
- stop-server.sh
- SKILL.md
- spec-document-reviewer-prompt.md
- visual-companion.md
- .intellij-bundled-skill
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- element-attributes.md
- playwright-tests.md
- request-mocking.md
- running-code.md
- session-management.md
- spec-driven-testing.md
- storage-state.md
- test-generation.md
- tracing.md
- video-recording.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- build-and-run.cmd
- launch.json
- settings.json
- maven.yml
- maven-wrapper.properties
- claude.manifest.json
- speckit.manifest.json
- .constitution-template.json
- constitution.md
- check-prerequisites.sh
- common.sh
- create-new-feature.sh
- setup-plan.sh
- setup-tasks.sh
- checklist-template.md
- constitution-template.md
- plan-template.md
- spec-template.md
- tasks-template.md
- workflow.yml
- workflow-registry.json
- init-options.json
- integration.json
- catalog-info.yaml
- library-api.yaml
- library-db.yaml
- library-domain.yaml
- library-service.yaml
- library-system.yaml
- xpinjection-team.yaml
- datasources.yml
- search-books-test.js
- test-data.sql
- http-distribution-dashboard.md
- loki-config.yaml
- config.yaml
- otel-collector-config-elk.yaml
- otel-collector-config.yaml
- docker-compose.yaml
- prometheus.yml
- NewExpert.java
- BookRestController.java
- CommonErrorHandler.java
- ExpertRestController.java
- ExpertEntity.java
- BookDao.java
- ExpertDao.java
- BookController.java
- ActiveProfileMissedFailureAnalyzer.java
- ActiveProfilesChecker.java
- ApplicationStartedWithoutActiveProfileException.java
- HttpServerPortLogger.java
- ActuatorBasicSecurityConfig.java
- ApiConfig.java
- DefaultLibraryInitializer.java
- DemoRunner.java
- LibrarySettings.java
- LogstashLogbookConfig.java
- TomcatQueueMetricsCustomizer.java
- Book.java
- BookDto.java
- Books.java
- CreateExpertDto.java
- Recommendation.java
- InvalidRecommendationException.java
- BookServiceImpl.java
- ExpertServiceImpl.java
- BookService.java
- ExpertService.java
- LibraryApplication.java
- library-api.yaml
- feign-client-generator.json
- rest-assured-generator.json
- spring-generator.json
- V1.00__book.sql
- V1.01__expert_and_recommendations.sql
- spring.factories
- 404.html
- index.html
- 5xx.ftl
- library.ftl
- application-admin.yaml
- application-dev.yaml
- application-graceful-shutdown.yaml
- application-json-logs.yaml
- application-perftest.yaml
- application-structured-logs.yaml
- application-training-run.yaml
- application.yaml
- logback-spring.xml
- CamelCaseDisplayNameGenerator.java
- BookApiPactTest.java
- AbstractApiTest.java
- ApiReports.java
- BookApiTest.java
- BookRestControllerIntegrationTest.java
- ExpertApiTest.java
- ExpertRestControllerIntegrationTest.java
- OpenApi.java
- AbstractDaoTest.java
- BookDaoTest.java
- ExpertDaoTest.java
- BookControllerIntegrationTest.java
- BookControllerTest.java
- BookUITest.java
- BookServiceTest.java
- ExpertServiceTest.java
- CodingConventionRules.java
- HexagonalDesignRules.java
- LocalLibraryApplication.java
- RuntimeDependencies.java
- StandaloneApplicationContextInitializer.java
- books-by-name.csv
- books-by-name.json
- books-by-name.xml
- books-by-name.yml
- database.dtd
- default-books.xml
- empty.xml
- expected-books.xml
- expected-stored-expert.xml
- stored-books.xml
- application-test.yaml
- archunit.properties
- books-for-the-same-author.sql
- dbunit.yml
- junit-platform.properties
- tempo-config.yaml
- .gitignore
- .mcp.json
- AGENTS.md
- CLAUDE.md
- compose.yaml
- compose_elk.yaml
- Dockerfile
- Dockerfile_basic
- Dockerfile_full
- Dockerfile_optimized
- LICENSE
- lombok.config
- mvnw
- mvnw.cmd
- pom.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/xpinjection/test-driven-spring-boot
Downloads the entire project code from GitHub to your computer.
cd test-driven-spring-boot
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Maven (Java)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
mvn clean install
Installs dependencies and builds the project using Maven.
A BUILD SUCCESS message means it worked. The output is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
