pip install flask

모듈이랑 이름이 같으면 안됨
myflask로 바꿨음
폴더만들기

from flask import Flask, render_template

app = Flask(__name__)

#라우팅
@app.route('/')
def hello():

    return render_template('index.html')

if __name__ == '__main__':
    app.run()

 

터미널에서 python myflask.py 실행시키면 

 

파란색 누르면 
들어가짐 

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>홈 페이지</title>
</head>
<body>
    <h3>홈 페이지 환영합니다</h3>
    <table border="1" bordercolor="blue">
        <tr>
            <td>
                서적 제목
            </td>
            <td>
                <input type="text" name="title">
            </td>
        </tr>
        <tr>
            <td>
                서적 표지
            </td>
            <td>
                <input type="file" name="photo">
            </td>
        </tr>
        <tr>
            <td>
                서적 저자
            </td>
            <td>
                <input type="text" name="author">
            </td>
        </tr>
        <tr>
            <td>
                서적 출간일자
            </td>
            <td>
                <input type="text" name="created_date">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="등 록">
            </td>

        </tr>
    </table>
</body>
</html>

- 실행시키면 


 

-web.py 

from flask import Flask, render_template
app = Flask(__name__)


@app.route("/")
def index():

    return render_template('index.html')


@app.route("/two_input")
def two_input():

    return render_template('two_input.html')


if __name__ == "__main__":
    app.run()

 

-two_input.html

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>2개 값 입력</title>
</head>
<body>

    <table border="1" bordercolor="blue">
        <tr>
            <td>
                값1
            </td>
            <td>
                <input type="text" name="value1">
            </td>
        </tr>
        <tr>
            <td>
                값2
            </td>
            <td>
                <input type="text" name="value2">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="합 계산">
            </td>

        </tr>
    </table>
</body>
</html>

 

-index.html

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>홈 페이지</title>
</head>
<body>
    <h3>홈 페이지 환영합니다</h3>
    <table border="1" bordercolor="blue">
        <tr>
            <td>
                서적 제목
            </td>
            <td>
                <input type="text" name="title">
            </td>
        </tr>
        <tr>
            <td>
                서적 표지
            </td>
            <td>
                <input type="file" name="photo">
            </td>
        </tr>
        <tr>
            <td>
                서적 저자
            </td>
            <td>
                <input type="text" name="author">
            </td>
        </tr>
        <tr>
            <td>
                서적 출간일자
            </td>
            <td>
                <input type="text" name="created_date">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="등 록">
            </td>

        </tr>
    </table>
</body>
</html>

 

- 터미널에서 web.py 실행시키면 

뒤에 /two_input치면

 


- two_input.html 

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>2개 값 입력</title>
</head>
<body>
<form action="/two_result" method="post">
    <table border="1" bordercolor="blue">
        <tr>
            <td>
                값1
            </td>
            <td>
                <input type="text" name="value1" placeholder="숫자입력">
            </td>
        </tr>
        <tr>
            <td>
                값2
            </td>
            <td>
                <input type="text" name="value2" placeholder="숫자입력">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="합 계산">
            </td>

        </tr>
    </table>
</form>
</body>
</html>

 

-two_result.html 

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>2개 값 입력</title>
</head>
<body>

    <table border="1" bordercolor="blue">
        <tr>
            <td>
                값1
            </td>
            <td>
                <input type="text" name="value1" value="{{value1}}" readonly>
            </td>
        </tr>
        <tr>
            <td>
                값2
            </td>
            <td>
                <input type="text" name="value2" value="{{value2}}" readonly>
            </td>
        </tr>
        <tr>
            <td>
                합 결과
            </td>
            <td>
                <input type="text" name="result" value="{{sum}}">

            </td>
        </tr>
    </table>

</body>
</html>

 

-web.py

from flask import Flask, render_template, request

app = Flask(__name__)


@app.route("/", methods=['GET'])
def two_input():
    return render_template('two_input.html')


@app.route("/two_result", methods=['POST'])
def two_result():
    value1 = request.form.get('value1')
    value2 = request.form.get('value2')
    sum = int(value1) + int(value2)

    return render_template('two_result.html', value1=value1, value2=value2, sum=sum)


if __name__ == "__main__":
    app.run()

 


- postman download 

 

www.postman.com/downloads/

 

Download Postman | Try Postman for Free

Try Postman for free! Join 13 million developers who rely on Postman, the collaboration platform for API development. Create better APIs—faster.

www.postman.com

64-bit 클릭

- 다운받고 실행 

구글 계정으로 로그인

 

Send 클릭 

 


 

'mongodb' 카테고리의 다른 글

파이참 프로페셔널 버전  (0) 2021.01.19
몽고디비 3일차- django, 장고  (0) 2021.01.18
몽고디비 3일차- studio 3t, mongodb tool  (0) 2021.01.18
몽고디비 2일차- pymongo, Altlas  (0) 2021.01.15
몽고디비 2일차 - 크롤링  (0) 2021.01.15

열면 저장경로 나옴
환경변수
저장 

 


 

 

 

우클릭 후 검사 클릭
옆에 코드나옴

-저번 시간에 했던 F12눌러서 화살표로 원하는 위치 클릭해도 됨 


 

 

- Terminal 창에서

pip install requests
pip install bs4
pip install pathlib

파이썬 파일 만들기 

import requests
from bs4 import BeautifulSoup
from pathlib import Path

# Path에 영화이미지 다운, 폴더가 없으면 만들어줌 
movie_dir = Path('movie_image_download')
movie_dir.mkdir(exist_ok=True)

url = 'http://movie.naver.com/movie/running/current.nhn'
response = requests.get(url)
soup = BeautifulSoup(response.content, 'html.parser')
# movie_category = soup.find('ul', {'class': 'lst_detail_t1'})
movie_category = soup.find('ul', class_='lst_detail_t1')

for image in movie_category.find_all('img'):
    image_name = image.get('src')
    download_image_name = image_name.split('?')[0]
    imgdata = requests.get(download_image_name)

    splited_names = download_image_name.split('/')
    filename = f'{splited_names[3]}-{splited_names[4]}-{splited_names[5]}'
    with open (movie_dir / filename, mode='wb') as f:
        f.write(imgdata.content)

파일 만들기 

 

 


- studio 3t 다운로드

 

 

studio3t.com/

 

The Professional Client, IDE & GUI for MongoDB | Studio 3T

MongoDB is easy. Now make it powerful with the MongoDB GUI, Studio 3T. Build queries fast, generate code, import/export & more. Try for free.

studio3t.com

 

 

- 다운 받고 압축풀고 실행 -> Next 다음 *2 -> 경로 그대로 다음 -> 체크된 상태에서 Finish -> 라이센스 동의 

Next 클릭 

 

New Connection 클릭 
save

 

- 아틀라스 로그인 

 

ip주소 들어가있는지 확인

 

connect 클릭
copy

-비번, db이름 수정해서 copy

mongodb+srv://jinhae:qscft7259*@jinhae-cluster.lsfcp.mongodb.net/jinhae*db?retryWrites=true&w=majority

 

From URL- copy한거 넣기- Ok 하면 아래와 같이 됨 

 

- test connection으로 테스트해보고 오류안나면 save

save

 

connect 클릭 

 

 


www.mongodb.com/try/download/database-tools

 

Download MongoDB Command Line Database Tools

Command line tools available for working with MongoDB deployments. Tools include mongodump, mongorestore, mongoimport, and more. Download now.

www.mongodb.com

msi로 다운( 편함) 

 

-설치 후 실행하고 install 

 

 

 

 

- mongo 들어가보면 

여기도 있음

 

 


 

-터미널 창에서

pip install pymongo

 

 

 

import base64
from pymongo import MongoClient

client = MongoClient('localhost', 27017)
photo_file = "C:\\Users\\w\\Pictures\\img.jpg"
photo = open(photo_file, 'rb')

encoded_string = base64.b64encode(photo.read())
print(encoded_string)
book = {"title": "Python 서적", "photo": encoded_string}

#ok_db 자동으로 만들어줌
client.ok_db.books.insert_one(book)

들어왔음
copy하기 

 

 

import base64

from bson import ObjectId
from pymongo import MongoClient

client = MongoClient('localhost', 27017)
photo_file = "C:\\Users\\w\\Pictures\\img.jpg"
photo = open(photo_file, 'rb')

encoded_string = base64.b64encode(photo.read())
print(encoded_string)
book = {"title": "Python 서적", "photo": encoded_string}

#client.ok_db.books.insert_one(book)
document = client.ok_db.books.find({'_id': ObjectId("6004e802e05eeda642e6a29b")})

for doc in document:
    print(doc['_id'])
    print(doc['title'])
    with open('88.jpg', mode='wb') as f:
        f.write(doc['photo'])
ObjectId("6004e802e05eeda642e6a29b")

ObjectId에 커서 갖다대면 import하는거 뜸 (from bson import ObjectId) 

 

 

이미지 열리진않네 ㅋ 

 

 

껐다가 다시 켜면 ok_db 있음 


- 처음에 환경변수 지정해줬으면

mongofiles 

 

 

이미지 위치에서 cmd켜면 그 경로의 cmd창이 뜸 

 

mongofiles -d gridfs put img.jpg 

 

 

mongo

use gridfs 

db.stats() 

mongo로 들어가서 ->use gridfs-> db.stats() 하면 들어와있음

 

다시 열어서 connect하면 gridfs 생겼음

 

이미지 데이터를 몽고디비에 넣을 수 있음 

 

 

 

 

from pymongo import MongoClient

client = MongoClient()
db = client.gridfs

for x in db.fs.files.find(): #파일정보 들어감
    print(x)

for x in db.fs.chunks.find(): #데이터 들어감
    print(x)


... 네모 클릭 

 

 

경로지정해서 a.jpg하면 사진 만들어짐 

 

-위에는 (...) 생략되어 있으니까 cmd창에서 mongo 들어가서 

 

/9 ~~~ Z까지 copy (shift활용)

<!DOCTYPE html>
<html>
  <head>
    <title>Display Image</title>
  </head>
  <body>
    <img src="data:image/png;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QE2RXhpZgAASUkqAAgAAAABAGmHBAABAAAAGgAAAAAAAAABAIaSAgABAQAALAAAAAAAAAD4X+kDhAIAAIQCAADgBAAAGAMAAOAEAAAgCgAAYAQAAGAEAAAgCgAAAAoAAEQEAAAMBAAARAQAAAAKAACoDAAACAUAAHwEAAB8BAAACAUAAKgMAACsDwAAcAUAAIAEAABQBAAAgAQAAHAFAACsDwAArh4AAPgHAADQBQAAEAUAABAFAADQBQAA+AcAAK4eAACoDwAAcAgAAHgGAADoBQAAeAYAAHAIAACoDwAAmBAAAGAJAACYBwAAmAcAAGAJAACYEAAAeBIAABALAACoCQAAEAsAAHgSAACoFQAAEA4AABAOAACoFQAAqBsAAHAUAACoGwAAICgAACAoAADATgAAAAD/2wBDAAUEBAQEAwUEBAQGBQUGCA0ICAcHCBALDAkNExAUExIQEhIUFx0ZFBYcFhISGiMaHB4fISEhFBkkJyQgJh0gISD/2wBDAQUGBggHCA8ICA8gFRIVICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wAARCAEsAUwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQR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MwGeNoz2pBnHl5woTI/E//AFqgHMkydtufyP8A9aqepJfDiPy1KhklHfpn/OahmjiKmZMgjhxj5lHv6jpVdJnKrGcY3/llWP8ASld2V2A4GF/UdKdhNiK6RS7xtKt/rE/rVpUBTzIWDL6eYOPzrMnYqyHggqeDyB/nNIABKhAxuAPBNQ3YpK5cEMqy+Yjkj+OLIwf1NRWwKSSQgbdjZUE9RnpVq3wJ1TapBGckc1VI8uVXQ4w+MdRj0p2vZiv0Hys00YkU52nB3VIEVWxjG/rjsaLcD7RIpGVYqSD71KnE23qA+OfTNVa4XGuojkicjoSMDtir6DDb0bgjOPSs25cmSIYGACP5/wCFS+Y6wghuVPFUiWzShmEgVCRlc57VpW0qIcblwema5ieWSG4jKNjcuSKuiaT5TkdPQc1VxNHVLexAgMyEY4IJBH0rTsLi4dgYpXA7bmrk7aRsA8V01n8rfLxirTM3oeg6BHNHKskhJJIzxzVj4hSTxabBLAz4GchRWboE8ocAMeTirnju/nt9KtdgQ7zglhntW9e31eRjc8ZvLosWJcsTzya5+6nJJrpdWJKl+7cmuNuid7V8dVjysZUuJiT1qJH6VXuGbf1ojds1a2EaKHJqUHFQRHOKl71LLRKvWp0OBVZTU6HioKEfkZqA4zU7dKgI5qGO5//Z"></img>
  </body>
</html>

image/png;base64 뒷부분 바꾸면됨 

 

-> a.html 로 저장하면 

웹으로 나옴


python에서 web만드려면 라이브러리 필요함 

1. bottle (병), 가장 쉽고 간단 

2. flask 

3. django 

이 중에 하나 쓰면 웹을 만들 수 있음. 3이 제일 좋음 

 

-터미널 창에서 설치 

pip install bottle

 

from bottle import route, run, template


@route('/')
def index():
    return '<h3>안녕하세요</h3>!'


run(host='localhost', port=8080)

이게 떠서.. 

-현재 쓰고 있는 포트번호 확인방법 

netstat - ano | findstr \[::]\:

8080을 쓰고있어서  다른 번호로 바꾸면 됨 (844하니까 뜸) 

 

'mongodb' 카테고리의 다른 글

몽고디비 3일차- django, 장고  (0) 2021.01.18
몽고디비 3일차- 웹연동, postman  (0) 2021.01.18
몽고디비 2일차- pymongo, Altlas  (0) 2021.01.15
몽고디비 2일차 - 크롤링  (0) 2021.01.15
몽고디비 1일차  (0) 2021.01.14

- pymongo.readthedocs.io/en/stable/atlas.html

 

Using PyMongo with MongoDB Atlas — PyMongo 3.11.2 documentation

Using PyMongo with MongoDB Atlas Atlas is MongoDB, Inc.’s hosted MongoDB as a service offering. To connect to Atlas, pass the connection string provided by Atlas to MongoClient: client = pymongo.MongoClient( ) Connections to Atlas require TLS/SSL. For co

pymongo.readthedocs.io

- 아틀라스 로그인 

- www.mongodb.com/cloud/atlas 

 

Managed MongoDB Hosting | Database-as-a-Service

Host MongoDB in the cloud with MongoDB Atlas, the official database-as-a-service, on AWS, Azure and GCP. Try free!

www.mongodb.com

 

 

copy


mongodb+srv://jinhae:<password>@jinhae-cluster.lsfcp.mongodb.net/<dbname>?retryWrites=true&w=majority

- 비밀번호랑 디비이름 수정 

mongodb+srv://jinhae:qscft7259*@jinhae-cluster.lsfcp.mongodb.net/jinhae-db?retryWrites=true&w=majority

 

 

file- setting들어가서 
dnspython 설치

import pymongo
# 아래 atlas URI 서식을 위해 dnspython 라이브러리를 설치해야 함
client = pymongo.MongoClient('mongodb+srv://jinhae:qscft7259*@jinhae-cluster.lsfcp.mongodb.net/jinhae-db?retryWrites=true&w=majority')
for name in client.list_database_names():
    print(name)

 

www.c-sharpcorner.com/article/mongodb-atlas-with-python/

 

MongoDB Atlas with Python

In this article, you will learn about MongoDB atlas with Python.

www.c-sharpcorner.com

from pymongo import MongoClient
from datetime import datetime

client = MongoClient('mongodb+srv://jinhae:qscft7259*@jinhae-cluster.lsfcp.mongodb.net/jinhae-db?retryWrites=true&w=majority')
collection = client.test.books
booksData = [
    {
        "id": "01",
        "language": "Java",
        "edition": "third",
        "author": "Herbert Schildt",
        'published_date': datetime.now()
    },

    {
        "id": "07",
        "language": "C++",
        "edition": "second",
        "author": "E.Balagurusamy",
        'published_date': datetime.now()
    }
]

collection.insert_many(booksData)

collection = client.test.books

※ test, books 자동으로 아틀라스에 생김

test: database name / books: collection name 

 

- 오류남 

collection = client.jinhae-db.book

-해결

db = client['jinhae-db'] # db name
collection = db['book'] #collection name

 

 

from pymongo import MongoClient
from datetime import datetime

client = MongoClient('mongodb+srv://jinhae:qscft7259*@jinhae-cluster.lsfcp.mongodb.net/'
                     'jinhae-db?retryWrites=true&w=majority')

year = datetime.year
month = datetime.month
day = datetime.day

hour = datetime.hour
minute = datetime.minute
second = datetime.second

datetime = f'{year}-{month}-{day} {hour}:{minute}:{second}'

collection = client.test.books
booksData = [
    {
        "id": "01",
        "language": "Java",
        "edition": "third",
        "author": "Herbert Schildt",
        'published_date': datetime
    },

    {
        "id": "07",
        "language": "C++",
        "edition": "second",
        "author": "E.Balagurusamy",
        'published_date': datetime
    }
]

collection.insert_many(booksData)

 

- published_date가 달라서 추가로 업데이트 됨

 

'mongodb' 카테고리의 다른 글

몽고디비 3일차- django, 장고  (0) 2021.01.18
몽고디비 3일차- 웹연동, postman  (0) 2021.01.18
몽고디비 3일차- studio 3t, mongodb tool  (0) 2021.01.18
몽고디비 2일차 - 크롤링  (0) 2021.01.15
몽고디비 1일차  (0) 2021.01.14

- Documentation

pymongo.readthedocs.io/en/stable/

 

PyMongo 3.11.2 Documentation — PyMongo 3.11.2 documentation

Getting Help If you’re having trouble or have questions about PyMongo, ask your question on our MongoDB Community Forum. You may also want to consider a commercial support subscription. Once you get an answer, it’d be great if you could work it back in

pymongo.readthedocs.io

main 필요없어서 체크 해지함
터미널 창에서 pymongo 설치
cp39은 python version 3.9라는 의미

만약 설치 문제가 있으면 wheel 파일 설치하기

www.wheelodex.org/projects/pymongo/

 

Wheelodex — pymongo

pymongo View on PyPI — Reverse Dependencies (838) Wheel Details Project: pymongo Version: 3.11.2 Filename: pymongo-3.11.2-cp39-cp39-manylinux2014_x86_64.whl Download: [link] Size: 518051 MD5: 727a7c310e57b9320c0b65ca6b7928a1 SHA256: 270a1f6a331eac3a39309

www.wheelodex.org

 

 

- 잘 설명되어 있음 

www.w3schools.com/python/python_mongodb_getstarted.asp

 

Python MongoDB

Python MongoDB Python can be used in database applications. One of the most popular NoSQL database is MongoDB. MongoDB MongoDB stores data in JSON-like documents, which makes the database very flexible and scalable. To be able to experiment with the code e

www.w3schools.com


* Ctrl+Space: 자동완성 띄움 

from pymongo import MongoClient

client = MongoClient('localhost', 27017)  # 안 적어도 똑같음
#client = MongoClient('localhost', 27017)  # 안 적어도 똑같음
#client = MongoClient('mongodb://127.0.0.1:27017')

for db_name in client.list_database_names():
    print(db_name)


-from ~ import ~ , import ~ 

from datetime import datetime

current_data_time = datetime.now() 
import datetime

current_data_time = datetime.datetime.now()

 

- 주가 확인하기 

1)

kabutan.jp/stock/?code=7203

화살표랑 Elements 클릭해서 원하는 곳 클릭

원하는 글 코드 찾아줌

<span class="kabuka">7,798円</span> 

 

-Terminal에서 설치 

pip install requests
pip install bs4

- url 주소넣기 / class_ 에 class 이름 넣기 

import requests
from bs4 import BeautifulSoup


url = "https://kabutan.jp/stock/?code=7203"
html = requests.get(url)
soup = BeautifulSoup(html.content, "html.parser")
stock = soup.find(class_="kabuka").text # html의 class라서 class_  
print(stock)

 

2)

회사에서 막았음

www.bloomberg.com/quote/GOOG:US

 

<span class="priceText__1853e8a5">1,740.18</span> 

import requests
from bs4 import BeautifulSoup


url = "https://www.bloomberg.com/quote/GOOG:US"
html = requests.get(url)
soup = BeautifulSoup(html.content, "html.parser")
stock = soup.find(class_="priceText__1853e8a5")
print(stock)

데이터가 없어서 안 나옴ㅠ

 

 

 

 

'mongodb' 카테고리의 다른 글

몽고디비 3일차- django, 장고  (0) 2021.01.18
몽고디비 3일차- 웹연동, postman  (0) 2021.01.18
몽고디비 3일차- studio 3t, mongodb tool  (0) 2021.01.18
몽고디비 2일차- pymongo, Altlas  (0) 2021.01.15
몽고디비 1일차  (0) 2021.01.14

1. 몽고디비 설치 

 

www.mongodb.com/try/download/community

 

MongoDB Community Download

Download the Community version of MongoDB's non-relational database server from MongoDB's download center.

www.mongodb.com

msi가 더 나을 것 같아서/ 다운로드 클릭 

+) 

지정폴더에서 cmd 치면 그 경로의 cmd창이 열림 

Complete 클릭 

 그 이후로 설치 쭉 진행 


2. 파이썬 설치

 

버전 확인 

 

www.python.org/

 

Welcome to Python.org

The official home of the Python Programming Language

www.python.org

 

다운로드 클릭해서 3.9.1 다운 

 

 

Customize installation클릭해서 뭐가 설치되는지 확인해보기 
Next 클릭 
3.9.1이라서 391로했음 

 

3.9.1로 변경됨

 

내pc우클릭- 속성 클릭 
설치 전 
설치 후


2-2 파이참 설치

www.jetbrains.com/ko-kr/pycharm/download/#section=windows

 

다운로드 PyCharm: JetBrains가 만든 전문 개발자용 Python IDE

최신 버전 다운로드: PyCharm (Windows, macOS, Linux)

www.jetbrains.com

 

Community 다운로드 클릭 

 

디폴트값 next
클릭해도 되지만 안 하고 설치했음

 

New Project 클릭 

 

??

 

독립적인 가상환경 쓴다

파이썬이 어딨는지 물어본다 


Mongodb 

-비정형 데이터 

 

경로복사 
w에 대한 사용자변수-Path- 새로만들기- 경로 추가 

 

- Ctrl+Alt+Del - 작업관리자- 서비스 

실행 중 확인해보기 

 

- cmd 창에서 mongo치고 실행 

mongo(client)

-json: 

velog.io/@surim014/JSON%EC%9D%B4%EB%9E%80-%EB%AC%B4%EC%97%87%EC%9D%B8%EA%B0%80 

 

JSON이란 무엇인가?

JSON (JavaScript Object Notation) JavaScript Object Notation라는 의미의 축약어로 데이터를 저장하거나 전송할 때 많이 사용되는 경량의 DATA 교환 형식 Javascript에서 객체를 만들 때 사용하는 표현식을 의미한

velog.io

 

- db 만들어보기 

<아래 사진처럼 만들기>

중괄호 {} : json 스타일 

WriteResult -> 1은 collection 1건이 들어갔다

이게 다 자바스크립트 

find()쓰면 뜸
초록버튼 누르기 
CONNECT 클릭 
데이터 추가하기

 

한글 안보이면 칸 늘리면 됨 
추가됐음
data 들어와있음 
찾기 가능 

- 비정형데이터라서 title1을 추가해도 넣어짐 

RESET누르면 업데이트 됨 

 


www.mongodb.com/cloud/atlas

 

Managed MongoDB Hosting | Database-as-a-Service

Host MongoDB in the cloud with MongoDB Atlas, the official database-as-a-service, on AWS, Azure and GCP. Try free!

www.mongodb.com

docs.mongodb.com/

 

Get started with MongoDB — MongoDB Documentation

Run MongoDB in the cloud Work with your data in a fully-managed database on AWS, Azure, and GCP.

docs.mongodb.com

초록버튼 클릭해서 무료로 만들기 

 

 

-AWS 아마존으로 만들기 

 

- Network Access에서 ip추가하기 

 

-

 

 

 

 

3번째 클릭 
copy하기
클러스트 분산되어 있다

아까 copy한 것을 

 

<> 지우기 - CONNECT

 

ALL Clusters 클릭  

 

클릭 

- 데이터 들어왔는지 확인해보기 

jinhae-db 클릭 
클릭 
데이터 넣어보기 
확인해보면 들어가있음 

 

+ Recent posts