Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.67 KB

File metadata and controls

65 lines (43 loc) · 1.67 KB

Java Maven Build Test


** Spring Boot Custom User Define Auto Configuration Example **


Getting Started

Requirements:

Git: 2.49.0
Spring Boot: 3.5.0
Maven: 3.9+
Java: 24

Clone this repository:

git clone https://github.com/deepaksorthiya/spring-boot-custom-autoconfig-starter.git
cd spring-boot-custom-autoconfig-starter

Build Jar File and Run Tests:

./mvnw clean install

Usage

To use this starter you will need to add the following dependency to your spring boot project.

<dependency>
    <groupId>com.example</groupId>
    <artifactId>spring-boot-custom-autoconfig-starter</artifactId>
    <version>0.0.1-SNAPSHOT</version>
</dependency>

And configure the following properties in your application.properties file. The reason I made this a setting is because you might want to run JsonPlaceHolder Service locally or in a different environment. If you don't configure one the default will be used.

json-placeholder-service.base-url=https://jsonplaceholder.typicode.com

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely: