You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
961 B
961 B
spring-rest-example
This project is a example of using Spring REST.
The project uses the Spock Framework Example Project
Prerequisites
-
JDK 17 or higher
-
Maven use
mvnw
wrapper
Building with Maven
Downloaded files will be stored in the local Maven repository (typically user_home/.m2/repository
).
Type: test
./mvnw clean test
Type: build
./mvnw clean install -DskipTests=true
# or
make war
Type: preparation
- create a folder, for example,
project
. - copy
SpringRestExample.war
from a release totarget/
in the folder.- if you build the application from source, skip this step.
- copy
Dockerfile
anddocker-compose.yml
to the folder. - turn up the project in the
project
:docker-compose up -d --build
- wait a minute while the database is bootstrapping.
- now you can connect to the application.
Author
Kostiantyn Klochko (c) 2023