Skip to content

puncha/petclinic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pet Clinic by Spring Boot in Java v1.1.0


Goal

Implement the Spring 4 Sample Pet Clinic project for practice.

Source

  1. GitHub: https://github.com/puncha/java-petclinic
  2. Travis CI: Build Status
  3. CodeShip CI: Build Status
  4. Heroku Demo: https://java-petclinic.herokuapp.com/

Features

It contains three versions:

  • SpringMVC + Jsp (backend rendering)
  • SpringMVC Restful + AngularJs1 + Bootstrap4
  • SpringMVC Restful + Angular2 + Bootstrap4 (TypeScript)

Install

cd src/main/webapp/resources/ng2
npm i

Run

./gradlew bootRun

Test

./gradlew check

Cross platform desktop app

Install NodeJs 6.x first and run:

cd src/main/electron_app/
npm i
node_modules/.bin/electron .

References

Change Logs

  • v1.1.0:
  • Angular2 version is added.
  • v1.0.0:
  • CSS is changed to Bootstrap 4 alpha3.
  • Form validation is added.
  • Site of JSP version is implemented.
  • Site of AngularJs1 + Restful Controller is implemented.
  • Prototype of Electron App is ready for try.
  • v0.4.0:
  • Pet page is implemented. Users can list, create, edit and delete pets.
  • Known issue: pet with visit events fail to be deleted.
  • v0.3.0:
  • Owner page is implemented. Users can list, create, edit and delete owners.
  • v0.2.0:
  • Error page is implemented. User can see how the site handles exceptions.
  • v0.1.0:
  • Index page is implemented. User can see the home page of the site.