Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 884 Bytes

DEVELOPING.md

File metadata and controls

51 lines (39 loc) · 884 Bytes

Running tests

To run tests, run:

mvn test

To generate a test coverage report, run:

mvn clean test jacoco:report

Running the application

To update mvnw script

mvn -N io.takari:maven:wrapper

Running locally

To run locally, please install java 21. Then, run

./mvnw spring-boot:run

Running in docker

To build the docker image, run:

mvn clean package
docker build -t spring-boot-docker .

Then, to run the docker image, run:

docker run -p 8080:8080 spring-boot-docker

A collection of sample requests is included in http format.

(Optional) To install IntelliJ IDEA HTTP Client, run:

curl -f -L -o ijhttp.zip "https://jb.gg/ijhttp/latest" && unzip -q ijhttp.zip && rm ijhttp.zip

Verify the deployment by running sample requests:

./ijhttp/ijhttp sample-requests.http