diff --git a/Spring-Boot/IntelliJ-spring-boot-project/pom.xml b/Spring-Boot/IntelliJ-spring-boot-project/pom.xml new file mode 100644 index 0000000..a292faf --- /dev/null +++ b/Spring-Boot/IntelliJ-spring-boot-project/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + + com.javadevjournal + demoproject + 0.0.1-SNAPSHOT + jar + + sample-project-IntelliJ + How to create Spring Boot project using IntelliJ + + + org.springframework.boot + spring-boot-starter-parent + 2.0.1.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/Spring-Boot/IntelliJ-spring-boot-project/src/main/java/com/javadevjournal/demoproject/SampleProjectIntelliJApplication.java b/Spring-Boot/IntelliJ-spring-boot-project/src/main/java/com/javadevjournal/demoproject/SampleProjectIntelliJApplication.java new file mode 100644 index 0000000..4cbd3f3 --- /dev/null +++ b/Spring-Boot/IntelliJ-spring-boot-project/src/main/java/com/javadevjournal/demoproject/SampleProjectIntelliJApplication.java @@ -0,0 +1,12 @@ +package com.javadevjournal.demoproject; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SampleProjectIntelliJApplication { + + public static void main(String[] args) { + SpringApplication.run(SampleProjectIntelliJApplication.class, args); + } +} diff --git a/Spring-Boot/IntelliJ-spring-boot-project/src/main/resources/application.properties b/Spring-Boot/IntelliJ-spring-boot-project/src/main/resources/application.properties new file mode 100644 index 0000000..a16b398 --- /dev/null +++ b/Spring-Boot/IntelliJ-spring-boot-project/src/main/resources/application.properties @@ -0,0 +1 @@ +server.port=7777 \ No newline at end of file diff --git a/Spring-Boot/IntelliJ-spring-boot-project/src/test/java/com/javadevjournal/demoproject/SampleProjectIntelliJApplicationTests.java b/Spring-Boot/IntelliJ-spring-boot-project/src/test/java/com/javadevjournal/demoproject/SampleProjectIntelliJApplicationTests.java new file mode 100644 index 0000000..6d8afce --- /dev/null +++ b/Spring-Boot/IntelliJ-spring-boot-project/src/test/java/com/javadevjournal/demoproject/SampleProjectIntelliJApplicationTests.java @@ -0,0 +1,16 @@ +package com.javadevjournal.demoproject; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SampleProjectIntelliJApplicationTests { + + @Test + public void contextLoads() { + } + +}