cheneyang / java-api-best-practice

Java API best practice using spring-boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java-api-best-practice

Java Api best practice and core components

usage

in build.gradle

    ...
    repositories {
        maven { url "https://jitpack.io" }
    }
    dependencies {
        ...
        compile 'com.github.zdix:java-api-best-practice:0.0.5'
        providedRuntime("org.springframework.boot:spring-boot-starter-tomcat:1.4.0.RELEASE")
  	}

in BootApplication.java (there is an example)

...
@ComponentScan(basePackages = "com.dix.base")
public class BootApplication
...

About

Java API best practice using spring-boot


Languages

Language:Java 71.5%Language:JavaScript 25.5%Language:Kotlin 2.8%Language:HTML 0.2%Language:CSS 0.0%Language:Smarty 0.0%