Animal Shelter Application backend based on jaxRs. Working with h2 DB via Hibernate. Working in pair with Frontend React App. Backend performs next modules:
- User: can add, update, delete users
- Pet: can add, update, delete new pets of type cat and dog, seracg pet by type, name
- Donate: donation of animal, statistic of pet donations
git clone https://github.com/AdeleDev/animal_shelter_jaxrs_java_backend.git
gradle clean
gradle build
gradle generateApiAndModel
resources/application.yaml
gradle bootRun
API :
http://127.0.0.1:8080/service/shelter/
Get all cats:
http://127.0.0.1:8080/service/shelter/pets/findByName/name
Post donation :
http://127.0.0.1:8080/service/shelter/donate/1