-
Notifications
You must be signed in to change notification settings - Fork 4
Week2
- recoil(atom, selector)
- ๋ก๊ทธ์ธ๋ ์ ์ ์ ์ํ ๊ด๋ฆฌ(์ ์ ๋ช , ํ๋กํ ์ด๋ฏธ์ง)
- atom, recoilState
- react query
- useQuery
- useMutation
- ์๋ฒ์ ๋ฐ์ดํฐ๋ฅผ ๋ฐ๊ฟ ์ ์๋ ์์ฒญ
-
jwtํ ํฐ ์ ์ฑ ์ ํตํด ์ฌ์ฉ์ ์ธ์ฆ
- ํ์๊ฐ์ ๊น์ง ์งํํ ์ ์ ์ธ์ฆ ์ ์ฑ
- ํ์๊ฐ์ ์ ํ์ง ์์ ์ ์ ์ธ์ฆ ์ ์ฑ
-
Oauth ๋ฅผ ํตํด Socials ์ฐ๋
- GitHub
- Tistory
- (Kakao)
-
๋ฐ์ดํฐ ๋ชจ๋ธ๋ง
-
์๋ฒ ๋ ๋ฐฉ์ ๊ด๊ณ๋ฅผ ๊ฐ๋ ๋ฐ์ดํฐ ์งํฉ์ ๋จ์ผ ๋ํ๋จผํธ์ ํฌํจํ์ฌ ์ ์ฅํ๋ ๋ฐฉ์
-
๋ ํผ๋ฐ์ค ๋ฐฉ์ ๋ํ๋จผํธ์ ๊ด๊ณ๋ฅผ ๊ฐ๋ ๋ค๋ฅธ ๋ํ๋จผํธ์ ์๋ณ์๋ฅผ ์ฐธ์กฐํค
-
-
Multi-Key index๋ฅผ ํตํ ํ๊ทธ ์๋ ์์ฑ
-
์ด์ฑ / ์ด์ฑ+์ค์ฑ+์ข ์ฑ์ ํ๊ทธ ๊ธฐ๋ฐ ๊ฒ์ ํจ์จ ํฅ์
- ํ๋์ Query ์์ ๋๊ฐ ์ด์์ Index ๋ฅผ ์ ์ฉํ๋ ๋ฐฉ์ $or ์ฌ์ฉ
When evaluating the clauses in the $or expression, MongoDB either performs a collection scan or, if all the clauses are supported by indexes, MongoDB performs index scans. That is, for MongoDB to use indexes to evaluate an $or expression, all the clauses in the $or expression must be supported by indexes. Otherwise, MongoDB will perform a collection scan.
- MongoDB Index ๋ $regex(like) ์ฐ์ฐ ์ญ์ index ๊ฐ ์ ์ฉ
For case sensitive regular expression queries, if an index exists for the field, then MongoDB matches the regular expression against the values in the index, which can be faster than a collection scan. Further optimization can occur if the regular expression is a "prefix expression", which means that all potential matches start with the same string. This allows MongoDB to construct a "range" from that prefix and only match against those values from the index that fall within that range.
-
-
Validate
- Reference Object ID ์ ํจ์ฑ ๊ฒ์ฌํ๋ Validator
- ์ ํจํ URL ์ ๊ฒ์ฌํ๋ Validator
- ์ ํจํ Email ์ ๊ฒ์ฌํ๋ Validator
- ์ซ์์ ์๋ฆฟ์๋ฅผ ๊ฒ์ฌํ๋ Validator
- ๋ฌธ์์ด์ ๊ธธ์ด๋ฅผ ๊ฒ์ฌํ๋ Validator