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.
<dependency>
<groupId>io.github.hoangtien2k3</groupId>
<artifactId>fw-commons</artifactId>
<version>1.1.0</version>
</dependency>
implementation("io.github.hoangtien2k3:fw-commons:1.1.0")
-
Correct and complete setup to start the program
application.yml
orapplication.properties
with CONFIG -
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);
}
}
This project is licensed under the MIT License
.
MIT License
Copyright (c) 2024 Hoàng Anh Tiến
Hoàng Anh Tiến 💻 🚧 🤔 🎨 🐛 |