Skip to content

praveenjavalead/spring-boot-mongodb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-mongodb

This repository contains a Spring Boot example project for MongoDB.

For a code review of this repo, see my related blog post.

You can learn more about my courses here on my site.

Two to execute the project:

  1. From the command prompt:

    java -Dspring.data.mongodb.uri=mongodb://192.168.99.100:27017/product -jar target/spring-boot-mongodb-0.0.1-SNAPSHOT.jar

  2. From the editor i.e. either Spring STS or intellij:

application.properties: spring.data.mongodb.uri=mongodb://192.168.99.100:27017/test run the SpringBootMongodbApplication

About

Spring Boot Mongo DB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 32.7%
  • HTML 25.3%
  • Shell 24.6%
  • Batchfile 17.4%