To run tests, run:
mvn test
To generate a test coverage report, run:
mvn clean test jacoco:report
mvn -N io.takari:maven:wrapper
To run locally, please install java 21. Then, run
./mvnw spring-boot:run
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