spring-projects/spring-petclinic
A sample Spring-based application
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
[](https://gitpod.io/#https://github.com/spring-projects/spring-petclinic) [](https://github.com/codespaces/new?hidereposelect=true&ref=main&repo=7517918) See the presentation here: Spring Petclinic Sample Application (legacy slides) Spring Petclinic is a Spring Boot application built using Maven or Gradle. Java 17 or later is required for the build, and the application can run with Java 17 or newer. You first need to clone the project locally: If you are using Maven, you can start the application on the command-line as follows: With Gradle, the command is as follows: You can then access the Petclinic at . You can, of course, run Petclinic in your favorite IDE. See below for more details. There is no Dockerfile in this project. You can build a container image (if you have a docker daemon) using the Spring Boot build plugin: Our issue tracker is available here. In its default configuration, Petclinic uses an in-memory database (H2) which gets populated at startup with data. The h2 console is exposed at…
Read the full README ↗ · Preview checked 2026-10-27T06:14:22.567Z
Inside the original README — Document outline
- Spring PetClinic Sample Application [](https://github.com/spring-projects/spring-petclinic/actions/w
- Understanding the Spring Petclinic application with a few diagrams
- Run Petclinic locally
- Building a Container
- Running the Container Image
- In case you find a bug/suggested improvement for Spring Petclinic
- Database configuration
- Test Applications
- Compiling the CSS
- Working with Petclinic in your IDE
- Prerequisites
- Steps
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
A sample Spring-based application
Repository facts
- Owner
- spring-projects
- Primary language
- CSS
- Stars
- 9,617
- Forks
- 31,050
- Open issues + pull requests
- 11
- License
- Apache-2.0
- Archived
- No
- Default branch
- main
- Created
- 2013-01-09T09:05:18.000Z
- Last push
- 2026-09-29T15:37:54.000Z
Topics and intended use
No topics were included in the latest source metadata.
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-10-31T18:43:23.065Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.