---
# System prepended metadata

title: '[LOG]_Week01-NodeJS-2022'
tags: [real-time]

---

# [LOG]_Week01-NodeJS-2022

###### tags: `real-time`, 

{%hackmd RAtn1iEBRO2tCbZeA-NylQ %}
  
![](https://img.shields.io/badge/Created_Date-08_Apr_2022-orange)  [![hackmd-github-sync-badge](https://hackmd.io/4RzDQGOvSOeVRat3bwdONg/badge)](/4RzDQGOvSOeVRat3bwdONg?edit)

---

|  |  | 
| -------- | -------- | 
| ⇦ <span style="color: #000; font-weight: bold; background: #76b0f3; border-radius: 8px; padding: 3px 2px;">【Week0】</span> | https://hackmd.io/@NoName21/ByAwLPNm5 | 
|  |  | 

---

[TOC]

---

:::info

<span style="color: #000; 
font-weight: bold; 
background: #76b0f3; 
border-radius: 8px; 
padding: 3px 2px;">【Week01】</span> 


- **【課堂講義】-W1**
>    - https://hackmd.io/@hexschool/HkHgw2cmq [target=_blank]

- **【主線任務】-W1**
>    - https://rpg.hexschool.com/task/273/show [target=_blank]

- **【團隊作業】-W1**
>    - `https://hackmd.io/@hexschool/<...>` [target=_blank] 

:::


---

:::warning 

- **【tag】_可按 `F3` 快速搜尋**
    - [ ] 待補充項目：**==`#TODO`==**
    - [ ] 需要練習的部分：**==`#Practice`==**
    
:::

---
---

## Summary

### 預習建議

- W2 前請預習至 `Mongoose`
![](https://i.imgur.com/TpnWksd.png)


---

## [????]_課程說明




---
 
## [????]_START

### [20:38]_資料庫類型的差異

- `MongoDB` 
    - 可以物件包陣列包物件...很多層級

- 非關聯的資料庫適合哪些資料？
    - 系統儀錶板
    - 聊天室
    - 即時股票資訊
    - 遊戲人物的狀態列

- 限制：16MB

- `Firebase`、`Firestore`
    - 也是 `NoSQL`

---

### [20:43]_終端機指令


- `Server` 端
```=sh
mongod
```

- `Client` 端
```=sh
mongo
```

---

- `#QA`
![](https://i.imgur.com/Uslc8Ts.png)
    - `MongoDB` 適合 `JavaScript` 學習者
        - 先學好一個之後可以更快上手其他的

### [20:56]_QK

---

## [21:05]_

---

## [??]

### [21:30]_`PATCH`VS`PUT`

- `PATCH`
    - 修改部分內容
        - -> `MongoDB`：`updateOne()`

- `PUT`
    - 全部替換
        - -> `MongoDB`：`replaceOne()`

---

## [21:36]_說明主線任務

---

### [21:42]_小組活動

---

### [21:49]_接續說明如何繳交作業


### [21:53]_週末任務

### [22:02]_心靈雞湯

```=markdown
跟自己比較就好
```

### [22:08]_END

---

