This backend version of the Spring Petclinic application only provides a REST API. There is no UI.
The spring-petclinic-angular project is a Angular front-end application witch consumes the REST API.
Compared to original version
- Java Project based on
gradle
- MyBatis Integration
- Springfox - Swagger UI Docs
- Spring Rest Docs Integration
- Drone CI automation
- SonarCloud Integration and code analysis
git clone https://github.com/artificerpi/spring-petclinic-mybatis.git
cd spring-petclinic-mybatis
docker-compose up -d
gradle bootRun
You can then access petclinic here: http://localhost:9966/petclinic/
- Swagger REST API documentation presented here (after application start): http://localhost:9966/petclinic/swagger-ui.html
npm uninstall -g angular-cli @angular/cli
npm cache clean
npm install -g @angular/cli@latest
git clone https://github.com/spring-petclinic/spring-petclinic-angular.git
cd spring-petclinic-angular
npm install
ng serve
Screenshot of the Angular 5 client
Tested: it's working with Anuglar 8 as well
This project is a fork of spring-petclinic-rest, but the persisstent has been replaced with MyBatis. There are lots of modifications on original codes.