Skip to content

Instantly share code, notes, and snippets.

@marcusvieira88
Created October 27, 2019 14:53
Show Gist options
  • Save marcusvieira88/5357c48225fd2da3d253b05fdcf82986 to your computer and use it in GitHub Desktop.
Save marcusvieira88/5357c48225fd2da3d253b05fdcf82986 to your computer and use it in GitHub Desktop.
Spring Cloud Config Server Main Class
package tech.marcusvieira.springconfigserver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
@SpringBootApplication
@EnableConfigServer
public class SpringConfigServerApplication {
public static void main(String[] args) {
SpringApplication.run(SpringConfigServerApplication.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment