Skip to content

This program is written using the spring boot framework, which stores some basic data at the start of the program in the mongodb database.

Notifications You must be signed in to change notification settings

alirezaalj/spring-data-mongo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Spring boot mongodb demo

This program is written using the spring boot framework, which stores some basic data at the start of the program in the mongo database.

my website: https://alirezaalijani.ir

Goals
  • Start learning mongodb
  • Using spring data mongodb
  • Using mongo template & mongo client
  • Learning mongodb query
  • Mongodb Many to many & one to Many & ....

How to use

Project dependencies
 docker run -d -p 27017:27017 --name mongodb mongo
  • java 8 or higher

Run

  1. go to project folder
  2. start by spring-boot-maven-plugin
mvn spring-boot:run
  1. project start on port 8080 and you can see the console for crud actions4. use this
  2. command to create jar file
 mvn clean install
  1. end

About

This program is written using the spring boot framework, which stores some basic data at the start of the program in the mongodb database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages