- Java 17
- Spring Boot 3.1.5
- Maven (with local repository reference)
- Postgres 16
wisercat-test-filters-api
- Main business logicwisercat-test-filters-schema
- Openapi and generated api/model classeswisercat-test-filters-db
- docker-compose and scripts to pre-fill database
-
To drop/create Postgres DB (Docker):
docker-compose -f wisercat-test-filters-db/docker-compose.yml down -v
docker-compose -f wisercat-test-filters-db/docker-compose.yml up -d --force-recreate
-
Installing new dependencies if
offline
isfalse
inside.mvn/settings.xml
. To just build existing, switchfalse
totrue
(once all dependencies are locally available).mvnw -s .mvn/settings.xml clean install -DskipTests
-
In case API changes and one needs to regenerate models/api classes
mvnw -s .mvn/settings.xml clean install -P regenerate-swagger -DskipTests
Swagger UI is accessible at http://localhost:8080/swagger-ui/index.html