Skip to content

Animal Shelter Application backend. Working with h2 DB via Hibernate. Working in pair with Frontend React App.

Notifications You must be signed in to change notification settings

AdeleDev/animal_shelter_jaxrs_java_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animal Shelter Backend App (JaxRS)

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

Built With

  • Java
  • SpringBoot
  • Hibernate
  • OpenApi
  • Wiremock
  • Junit5

Pre-installations

Clone the repo:

git clone https://github.com/AdeleDev/animal_shelter_jaxrs_java_backend.git

Build project:

gradle clean
gradle build

Build interface and objects for service:

gradle generateApiAndModel

Usage

Setup endpoints for client and server, set connection to db:

resources/application.yaml

Run service:

gradle bootRun

API example requests:

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

About

Animal Shelter Application backend. Working with h2 DB via Hibernate. Working in pair with Frontend React App.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages