1.2 MongoDB 설치 - architectstory/MSA_REF_PATTERN_CQRS GitHub Wiki

MongoDB


  1. Install
  • Download Mongo 7.0.5

  • Install the downloaded file, By Default, it will be installed int the folder 'C:\Program Files' image

  • Run and execute installer and follow required steps to install it

  • (Optional) UnInstall (삭제 할 경우)

    image

  1. 환경 구성
  • Once it installed successfully, a mongodb icon will display at Desktop

    image

  • mongodb 실행

  • "connect" with databse image

  • 왼쪽 메뉴에서 Database 옆의 "+" 클릭 image

  • Database 생성
    image

   Create Database name : MSA_READ_DB
          Collection name : ORDER

image

{
	"_id" : {
		"$oid": "6473338f6bd729ce3cb988a9"
	},
	"name": "CAA",
	"age":22,
	"email":"[email protected]",
	"address": {
		"street": "jamsil",
		"city": "seoul"
	}
}