Skip to content

Latest commit

 

History

History
63 lines (36 loc) · 1.38 KB

README.md

File metadata and controls

63 lines (36 loc) · 1.38 KB

Animals API

Animals API is a Spring Boot web application with a Swagger documented API.

Getting Started

Prerequisites

First install:

  • Java 17
  • Maven 3.6.3+

Commands

Run the service:

mvn spring-boot:run

Tests with coverage:

mvn clean test

Build the .jar:

mvn clean package    

Run with Docker (build jar first)

docker-compose up

Run from Docker Hub

docker run --rm -p 8080:8080 -d catapultcx/animals-api:latest

Publish to Docker Hub

./docker.sh

URLs

Once started the API will be available at:

API docs can be found at:

Reference Documentation

For further reference, please consider the following sections: