From a757fcfe3d76b77c1720b7050cf27eb3a166c78e Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Wed, 24 Oct 2018 21:59:00 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E5=88=9D=E5=A7=8B=E5=8C=96=20spring-b?= =?UTF-8?q?oot-demo-neo4j?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + spring-boot-demo-neo4j/.gitignore | 25 +++++++++ spring-boot-demo-neo4j/pom.xml | 53 +++++++++++++++++++ .../neo4j/SpringBootDemoNeo4jApplication.java | 12 +++++ .../src/main/resources/application.yml | 0 .../SpringBootDemoNeo4jApplicationTests.java | 16 ++++++ 6 files changed, 107 insertions(+) create mode 100644 spring-boot-demo-neo4j/.gitignore create mode 100644 spring-boot-demo-neo4j/pom.xml create mode 100644 spring-boot-demo-neo4j/src/main/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplication.java create mode 100644 spring-boot-demo-neo4j/src/main/resources/application.yml create mode 100644 spring-boot-demo-neo4j/src/test/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplicationTests.java diff --git a/pom.xml b/pom.xml index 60695cf..c3ce4f5 100644 --- a/pom.xml +++ b/pom.xml @@ -23,6 +23,7 @@ spring-boot-demo-orm-jdbctemplate spring-boot-demo-orm-jpa spring-boot-demo-upload + spring-boot-demo-neo4j pom diff --git a/spring-boot-demo-neo4j/.gitignore b/spring-boot-demo-neo4j/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-neo4j/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-neo4j/pom.xml b/spring-boot-demo-neo4j/pom.xml new file mode 100644 index 0000000..aa4968e --- /dev/null +++ b/spring-boot-demo-neo4j/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + spring-boot-demo-neo4j + 0.0.1-SNAPSHOT + jar + + spring-boot-demo-neo4j + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 0.0.1-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-data-neo4j + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + spring-boot-demo-neo4j + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-neo4j/src/main/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplication.java b/spring-boot-demo-neo4j/src/main/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplication.java new file mode 100644 index 0000000..c9e8f4d --- /dev/null +++ b/spring-boot-demo-neo4j/src/main/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplication.java @@ -0,0 +1,12 @@ +package com.xkcoding.neo4j; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoNeo4jApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoNeo4jApplication.class, args); + } +} diff --git a/spring-boot-demo-neo4j/src/main/resources/application.yml b/spring-boot-demo-neo4j/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-neo4j/src/test/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplicationTests.java b/spring-boot-demo-neo4j/src/test/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplicationTests.java new file mode 100644 index 0000000..8268b87 --- /dev/null +++ b/spring-boot-demo-neo4j/src/test/java/com/xkcoding/neo4j/SpringBootDemoNeo4jApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.neo4j; + +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 SpringBootDemoNeo4jApplicationTests { + + @Test + public void contextLoads() { + } + +}