Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 2.11 KB

README.md

File metadata and controls

52 lines (44 loc) · 2.11 KB

SpringBootMongoDBCloud

What is this repository for?

  • Quick summary -

  • Version: 0.0.1

How do I get set up?

  • Summary of set up

    • List of software to be installed:
      • Install Java (JDK 1.8)
      • Install Maven
      • Install GIT
    • Steps to setup the project:
      • Clone the repo
      $ git clone https://github.com/gouravsood/SpringBootMongoDBCloud.git
      • Go into the project folder
      $ cd SpringBootMongoDBCloud
      • build the project (which will build the application in dev profile)
      $ mvn clean package
  • Database configuration

    • Database configuration is done using application.yml file under '\src\main\resources\config\application.yml'
    • For local database configuration, connections details are mentioned in: /src/main/resources/config/application.yml
    • For cloud database configuration, connections details are mentioned in: /src/main/resources/config/application-cloud.yml
    • Refer to below class to understand how local DB configurations are done: /src/main/java/sood/gourav/config/DatabaseConfiguration.java
    • Refer to below class to understand how Cloud DB configurations are done: /src/main/java/sood/gourav/config/CloudDatabaseConfiguration.java and /src/main/java/sood/gourav/config/CloudMongoDbConfiguration.java

Who do I talk to?

  • Repo owner or admin - Gourav Sood
  • Please feel free contact me at GitHub or my mail [email protected]