본문 바로가기
Infra System

MongoDB based Prototype - Inner Architecture

by kellis 2020. 10. 14.

air-mariadb-starter를 의존하는 비즈니스 애플리케이션 프로토타입으로, 이 포스트에서는 Controller, Service, Repo, Dto에 대한 코드는 다루지 않습니다. 

 

MariaDB based Prototype과 거의 유사하므로 아래 설정 정보만 기재하겠습니다. 

application.yml

 

몽고디비 설정은 아래와 같습니다. 

...중략
 
spring:
  data:
    mongodb:
      host: {IP}
      port: {포트}
      database: {데이터베이스명}
      username: {유저명}
      password: {패스워드}
 
...중략

댓글