Skip to content

dim-sirka/animal-service-mvc

Repository files navigation

animal-service

Web-app for the animal shelter "Dim Sirka".

Project status

Build Status Vulnerabilities Security Rating Reliability Rating Lines of Code Bugs Coverage

Requirements

  • Java 11
  • Docker

Building Instructions

(If running from windows - replace / to \ )

  • ./gradlew clean build -- build the project and run the tests

Launch Instructions

  • terminal:
  • java -jar build/libs/*.jar -- run the project
  • docker:
  • docker build -t animal-service . - build the docker image with name animal-service
  • docker run --name animal-service-container -p 8070:8080 -d animal-service - run container with name animal-service-container based on the animal-service image (make calls to port: 8070)

Running DB Instructions

  • create and run animal_db container locally
docker run --name animal-db-container \
                -e POSTGRES_PASSWORD=postgres \
                -e POSTGRES_USERNAME=postgres \
                -e POSTGRES_DB=animal_db \
                -p 5433:5432 \
                -d postgres 

Running multi-container Instructions

  • docker-compose up -- run animal-service app and animal-db containers
  • docker-compose down -- stop animal-service app and animal-db containers

Link to DB ERD diagram

https://ibb.co/QKjx9Cb - deprecated variant

Link to Request Flow Arhitecture diagram

https://drive.google.com/file/d/1apKYU2Hrkk7A0ydv1Cs5UM0Db9fDHrka/view?usp=sharing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages