nelson
5 years ago
commit
d828e8d658
5 changed files with 68 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||
HELP.md |
|||
.gradle |
|||
build/ |
|||
!gradle/wrapper/gradle-wrapper.jar |
|||
!**/src/main/** |
|||
!**/src/test/** |
|||
|
|||
### STS ### |
|||
.apt_generated |
|||
.classpath |
|||
.factorypath |
|||
.project |
|||
.settings |
|||
.springBeans |
|||
.sts4-cache |
|||
|
|||
### IntelliJ IDEA ### |
|||
.idea |
|||
*.iws |
|||
*.iml |
|||
*.ipr |
|||
out/ |
|||
|
|||
### NetBeans ### |
|||
/nbproject/private/ |
|||
/nbbuild/ |
|||
/dist/ |
|||
/nbdist/ |
|||
/.nb-gradle/ |
|||
|
|||
### VS Code ### |
|||
.vscode/ |
@ -0,0 +1,20 @@ |
|||
plugins { |
|||
id 'org.springframework.boot' version '2.1.7.RELEASE' |
|||
id 'io.spring.dependency-management' version '1.0.7.RELEASE' |
|||
id 'java' |
|||
} |
|||
|
|||
group = 'com.example' |
|||
version = '0.0.1-SNAPSHOT' |
|||
sourceCompatibility = '1.8' |
|||
|
|||
repositories { |
|||
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } |
|||
maven { url "http://maven.aiprose.com/repository/maven-public/" } |
|||
mavenCentral() |
|||
} |
|||
|
|||
dependencies { |
|||
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' |
|||
implementation 'org.springframework.boot:spring-boot-starter-web' |
|||
} |
@ -0,0 +1 @@ |
|||
rootProject.name = 'sbmongo' |
@ -0,0 +1,13 @@ |
|||
package com.example.sbmongo; |
|||
|
|||
import org.springframework.boot.SpringApplication; |
|||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|||
|
|||
@SpringBootApplication |
|||
public class SbmongoApplication { |
|||
|
|||
public static void main(String[] args) { |
|||
SpringApplication.run(SbmongoApplication.class, args); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,2 @@ |
|||
server: |
|||
port: 8080 |
Loading…
Reference in new issue