Skip to content

hoangtien2k3/fw-commons

Repository files navigation

fw-commons

fw-commons

Fw-Commons a commons Java lib with spring boot framework, Supports using keycloak, filter, trace log, cached, minio server, exception handler, validate and call API with webclient

This README provides quickstart instructions on running fw-commons on bare metal project spring boot.

SonarCloud

CircleCI Lines of Code GitHub Release License OpenSSF Best Practices Build status

Gradle

def latest = "1.1.4" // or check the latest from maven central repository

//fw-commons
implementation("io.github.hoangtien2k3:fw-commons:$latest")

//spring-commons
implementation("io.github.hoangtien2k3:spring-commons:$latest")

//utils
implementation("io.github.hoangtien2k3:utils:$latest")

//data-utils
implementation("io.github.hoangtien2k3:data-utils:$latest")

//exception-handling
implementation("io.github.hoangtien2k3:exception-handling:$latest")

Installation and Getting Started

  1. Correct and complete setup to start the program application.yml or application.properties with CONFIG

  2. The reference documentation includes detailed installation instructions as well as a comprehensive getting started guide.

Here is a quick teaser of a complete Spring Boot application in Java:

@SpringBootApplication
@ComponentScan(basePackages = {"io.hoangtien2k3.commons.*"})
@ImportResource({"classpath*:applicationContext.xml"})
public class Example {

    @RequestMapping("/")
    String home() {
        return "Hello World!";
    }

    public static void main(String[] args) {
        SpringApplication.run(Example.class, args);
    }
}

Contributing

If you would like to contribute to the development of this project, please follow our contribution guidelines.

Alt

Star History

Star History Chart

Contributors ✨

License

Apache License, Version 2.0