댓글 검색 목록

[Nodejs] JavaScript 및 JSON 파일로 MongoDB 데이터베이스를 채웁니다.

페이지 정보

작성자 운영자 작성일 19-12-18 23:06 조회 568 댓글 0

MongoDB 데이터베이스를 채우는 최고의 솔루션 ?


JSON, JavaScript 또는 TypeScript 파일로 MongoDB 문서를 정의하십시오. JS 라이브러리를 사용하거나 CLI를 설치하거나 Docker 이미지를 실행하여 가져옵니다!


https://github.com/pkosiec/mongo-seeding 



[
    {
        "name": "John",
        "email": "example@example.com",
        "avatar": "https://placekitten.com/300/300"
    },
    {
        "name": "Joanne",
        "email": "example@example.com",
        "avatar": "https://placekitten.com/300/300"
    },
    {
        "name": "Bob",
        "email": "example@example.com",
        "avatar": "https://placekitten.com/300/300"
    },
    {
        "name": "Will",
        "email": "example@example.com",
        "avatar": "https://placekitten.com/300/300"
    },
    {
        "name": "Chris",
        "email": "example@example.com",
        "avatar": "https://placekitten.com/300/300"
    }
]



댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.