Skip to content

Components

Billy Bolton edited this page Apr 19, 2024 · 7 revisions

Overview

components-crud

The components-crud library offers abstracted components for RESTful Spring Boot APIs with CRUD operations.

components-errors

The components-errors library offers abstracted components to handle errors within a Spring Boot API.

components-search

The components-search library offers criteria search support for a RESTful Spring Boot API.

components-shared

The components-shared library offers various components that are shared amongst all of the component libraries.

components-testing

The components-testing library offers abstract integration tests that, once extended at the concrete level, provides sufficient coverage with minimal new code. Leveraging Dockerized TestContainers and Liquibase, each test is ran under a refreshed environment of valid entities so that bloating the logic of each test is mitigated.

Examples

books-catalogue

The books-catalogue submodule is an executable example that uses the libraries above.

Getting Started

All library-based submodules, including the ones noted above, are non-executable.

Follow the instructions below to execute the example books-catalogue application:

1. Pre-Requisites

Complete the local environment setup steps here.

2. Execute

From the root of this repository, execute the following gradle command:

./gradlew :projects:examples:books-catalogue bootRun -Pspring.profiles.active=postgres,liquibase

Clone this wiki locally