Skip to content

enesoral/Pet-Clinic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Pet Clinic Sample Application Build Status

Use cases of the Pet Clinic application

  • View a list of veterinarians and their specialties
  • View information pertaining to a pet owner
  • Update the information pertaining to a pet owner
  • Add a new pet owner to the system
  • View information pertaining to a pet
  • Update the information pertaining to a pet
  • Add a new pet to the system
  • View information pertaining to a pet's visitation history
  • Add information pertaining to a visit to the pet's visitation history

Running petclinic locally

Pet Clinic is a Spring Boot application built using Maven. You can build a jar file and run it from the command line:

git clone https://github.com/enesoral/Pet-Clinic
cd Pet-Clinic
./mvnw package
java -jar petclinicweb/target/*.jar

You can then access petclinic here: http://localhost:8080/

petclinic-screenshot1

petclinic-screenshot2

Working with Pet Clinic in your IDE

Prerequisites

The following items should be installed in your system:

  • Java 8 or newer.
  • Your preferred IDE.

Database configuration

In its default configuration, Pet Clinic uses an in-memory database (H2) which gets populated at startup with data. The h2 console is automatically exposed at http://localhost:8080/h2-console and it is possible to inspect the content of the database using the jdbc:h2:mem:testdb url.

You can take a look at here for MySql connection.

In case you find a bug/suggested improvement for Pet Clinic

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

About

Spring-based Pet Clinic application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published