KKlochko 474bb9daaf
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Update the controllers to return messages or errors as JSONs.
2023-12-03 11:53:00 +02:00
2023-09-06 15:46:58 +02:00
2023-10-28 22:00:39 +03:00
2012-02-28 03:19:11 +01:00
2023-09-06 15:19:33 +02:00
2012-02-28 03:19:11 +01:00
2023-12-01 21:07:29 +02:00
2023-12-03 11:46:17 +02:00

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 to target/ in the folder.
    • if you build the application from source, skip this step.
  • copy Dockerfile and docker-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

S
Description
No description provided
Readme
865 KiB
3.0.0
Latest
2023-12-03 09:53:00 +00:00
Languages
Java 59.9%
Groovy 39.4%
Dockerfile 0.4%
Makefile 0.3%