{"repo":"spring-petclinic/spring-petclinic-kotlin","free":true,"listed":false,"github":"https://github.com/spring-petclinic/spring-petclinic-kotlin","clone":"git clone https://github.com/spring-petclinic/spring-petclinic-kotlin.git","description":"Kotlin version of Spring Petclinic","language":"Kotlin","stars":394,"topics":["kotlin","spring-boot","gradle"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Kotlin version of the Spring PetClinic Sample Application This is a Kotlin version of the [spring-petclinic][] Application. Technologies used Language: Kotlin Core framework: Spring Boot 3 with Spring Framework 6 Kotlin support Server: Apache Tomcat Web framework: Spring MVC Templates: Thymeleaf and Bootstrap 5 Persistence : Spring Data JPA Databases: H2 and MySQL both supported Build: Gradle Script with the Kotlin DSL Testing: Junit 5, Mockito and AssertJ Running petclinic locally With gradle command line With Docker You can then access petclinic here: http://localhost:8080/ Database configuration In its default configuration, Petclinic 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:{uuid} url (the uuid param could be find in the startup logs). A similar setup is provided for MySql in case a persistent database configuration is needed. Note that whenever the database type is changed, the data-access.properties file needs to be updated and the mysql-connector-java artifact from the pom.xml needs to be uncommented. You could start a MySql database with docker: Further documentation is provided here. Looking for something in particular? Features Class, files or Java property files ------------------------------------ --- The Main Class PetClinicApplication Properties configuration file application","default_branch":null,"files":null,"tree":[],"storefront":"/r/spring-petclinic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spring-petclinic/spring-petclinic-kotlin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}