Skip to content

gouravrc/spring-boot-mongo-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-mongo-crud

Spring boot application using mongo db and open api specification

PRs Welcome Maintained | Yes Ask me anything Maintained issues open 0 open source

header image

Open API Spec

  1. Click here to view the open api specs

Folder Structurfe

.
└── src
    ├── main
       ├── java   
            └── com.spring.product
                └── controller
                └── integrator
                └── repository
                └── service
                └── ProductApplication.java
       |── resources
    |── test
        ├── java
        │   └── com.simpleproject
        │       └── SimpleClassTest.java
        └── resources

Mongo DB Configuration

  1. Install Mongo DB
  2. Install Mongo Compass
  3. Start server by copy pasting in your terminal brew services start [email protected]
  4. Open Mongo Compass and paste the following in your URI mongodb://localhost:27017 & click on Connect
  5. Your Mongo DB will be live on localhost:27017 server
  6. To stop the server, copy & paste the following in your terminal brew services stop [email protected]

Spring Configuration

  1. Download Maven on windows OR copy and paste in your Mac terminal brew install maven
  2. Download the project
  3. Open the root terminal and run mvn clean install
  4. Run the application
  5. Application will be live on localhost:9000

PRs Welcome

About

Spring boot application using mongo db and open api specification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages