๋ฐ๋ผํ๋ฉฐ ๋ฐฐ์ฐ๋ ๋ ธ๋, ๋ฆฌ์กํธ ์๋ฆฌ์ฆ - ์ผํ๋ชฐ ์ฌ์ดํธ ๋ง๋ค๊ธฐ[์ ์ฒด ๋ฆฌ๋ด์ผ]
์ด ๊ฐ์๋ฅผ ํตํด์ ์ผํ๋ชฐ ์น์ฌ์ดํธ๋ฅผ ์ฒ์๋ถํฐ ํ๋ํ๋ ๋ง๋ค์ด ๋ณด์ค ์ ์์ต๋๋ค.
์๊ฐ์ 3,164๋ช
๋์ด๋ ์ค๊ธ์ด์
์๊ฐ๊ธฐํ ๋ฌด์ ํ
- ๋ฏธํด๊ฒฐ
๊ฐ์ ๋ด์ฉ์ ํ๋ฅญํ๋, ํ๊ฒฝ ์ค์ ์ค๋ฅ ๋๋ฌธ์ ์ง๋๋ฅผ ๋๊ฐ ์ ์์ต๋๋ค. 20๋ ๋ฒ์ ๊ฐ์.
์ต์ ๋ฒ์ ์ผ๋ก ๊ฐ์ ์ ๊ทธ๋ ์ด๋ ํ์ ์ผ ํ ๊ฑฐ๊ฐ์์..๋์ ํ ์งํ์ด ์๋๋ค์. ๋ฒ์ ์ฐจ์ด๊ฐ ๋๋ฌด ์ปค์ ํ๊ฒฝ ๋ง์ถ๋ ๊ฑฐ ์์ฒด๊ฐ ๊ณ ํต์ค๋ฌ์์.<p style="t
reactreduxnode.js์น์ฑmongodb์์ง
ใป
2๋ฌ ์
0
32
1
- ๋ฏธํด๊ฒฐ
๊ฐ์์๋ฃ๋ ์ด๋์ ๋ณผ ์์๋์??
๊ฐ์์๋ฃ๋ ์ด๋์ ๋ณผ ์์๋์??1๊ฐ์ ๊ฐ์์๋ฃ๋ ์ฝ๋๋ฟ์ด๋๋ฐ,,
reactreduxnode.js์น์ฑmongodbhang5607
ใป
5๋ฌ ์
0
47
1
- ๋ฏธํด๊ฒฐ
์ด ์ผํ๋ชฐ ๋ง๋ค๊ธฐ ๊ฐ์๋ ๊ด๋ฆฌ์ํ์ด์ง ๋ง๋๋๊ฑด ์๋์
์ด ์ผํ๋ชฐ ๋ง๋ค๊ธฐ ๊ฐ์๋ ๊ด๋ฆฌ์ํ์ด์ง ๋ง๋๋๊ฑด ์๋์
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
81
2
- ๋ฏธํด๊ฒฐ
์น์์ ์ค์๊ฐ ์ฝ๋๋ฐ์์ด ์๋ผ์
jsxํ์ผ์ ์ฝ๋๋ฅผ ์์ ํ๋ฉด ์์์ฒ๋ผ ๋ฐ๋ก๋ฐ๋ก ๋ฐ๋์ด์ผํ๋๋ฐ ์น์ ํด๋ฆญํ๋ฉด ์๋ก๊ณ ์นจ๋๊ณ ํด๋ฆญ์ํ๋ฉด ์ ๋์ด ์๋ผ์
reactreduxnode.js์น์ฑmongodb์์ฑ์ ์์
ใป
7๋ฌ ์
0
92
1
- ๋ฏธํด๊ฒฐ
app.use์ง๋ฌธ
๊ฐ์ ์์ 2๋ถ์ ๋ณด๋ฉด app.use('/users', require('./routes/users'));๊ฐ ์๋๋ฐ ์ ์์๋ค์์ ์ ๋ฐ ์ฝ๋๋ ์์๋๋ฐ ๋ฐ๋ก ์ถ๊ฐํด์ผํ๋์
reactreduxnode.js์น์ฑmongodb์์ฑ์ ์์
ใป
7๋ฌ ์
0
49
1
- ๋ฏธํด๊ฒฐ
๊ฐ์ฌ๋๊ป ์ด๋ป๊ฒ ์ง์ ์ง๋ฌธํ ์์์ด์??
๊ฐ์ฌ๋๊ป ์ด๋ป๊ฒ ์ง์ ์ง๋ฌธํ ์์์ด์??
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
62
1
- ๋ฏธํด๊ฒฐ
constํจ์๊ฐ์๊ฑฐ ๊ธฐ์ด๊ฐ์๋ ์ด๋์๋์
constํจ์๊ฐ์๊ฑฐ ๊ธฐ์ด๊ฐ์๋ ์ด๋์๋์
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
56
2
- ๋ฏธํด๊ฒฐ
๋ฆฌ๋์ค ์ฐธ์กฐ์ฑํฐ๊ฐ ์ด๋จ์ด์? ๋ฏธ๋ฆฌ๋ฃ๊ณ ์ค๋ผ๋๋ฐ์
๋ฆฌ๋์ค ์ฐธ์กฐ์ฑํฐ๊ฐ ์ด๋จ์ด์? ๋ฏธ๋ฆฌ๋ฃ๊ณ ์ค๋ผ๋๋ฐ์
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
62
2
- ๋ฏธํด๊ฒฐ
๊ฐ์๊ฐ์์ ์ค๋๋์ ๋ค ํ๋ฆฌ๋ค app.jsx๋ tailwind css ๋คํ๋ฆผ ๋ฌด์ฑ ์ํจ
// src/App.jsx import { useState } from 'react' import viteLogo from '/vite.svg' import reactLogo from './
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
58
1
- ๋ฏธํด๊ฒฐ
๊ฐ๋ฐ์๋๊ตฌ์ redux๋์ด ์์ด์
๋ง์ง๋ง๊น์ง ๋คํ๋๋ฐ ํฌ๋กฌ ๊ฐ๋ฐ์๋๊ตฌ์ redux๋์ด ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ๊ฐ์์์์์ ์๋์ฝ๋์์ ์ฝ๋๋ฅผ ์์ฑํ๋ฉด ์ ค ์์ import์ชฝ๋ ์๋ ์์ฑ๋๋๋ฐ ๊ทธ๊ฑด ํน์ ์ด๋ป๊ฒ ํ๋๊ฑด๊ฐ์
reactreduxnode.js์น์ฑmongodb๋์คํธ
ใป
7๋ฌ ์
0
64
1
- ๋ฏธํด๊ฒฐ
npx tailwindcss init -p ์์ ๊ณ์ ์๋ฌ๋์
https://gith
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
72
1
- ๋ฏธํด๊ฒฐ
์ผํ๋ชฐ๊ธฐ๋ฅ์ค ์ฐํ๊ธฐ ๊ธฐ๋ฅ์ ์ด๋ป๊ฒ ๊ตฌํํ๋์
์ผํ๋ชฐ๊ธฐ๋ฅ์ค ์ฐํ๊ธฐ ๊ธฐ๋ฅ์ ์ด๋ป๊ฒ ๊ตฌํํ๋์
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
101
2
- ๋ฏธํด๊ฒฐ
๊ฐ์ํ๋ค ์ค์ผ๋ก ์ค๋ช ๊ฐ๋ฅํ์ง์ข ์ ํํ ์๋ ค์ฃผ์ธ์. ์ด ์ ์๋ ์ ์ฑ ์ด ์ด๋ป๊ฒ ๋๋๋ฐ์. ์ง์ ์ฐ๋ฝํ ๋ฉ์ผ์ด๋ผ๋ ์๋ ค์ฃผ์ธ์
๊ฐ์ํ๋ค ์ค์ผ๋ก ์ค๋ช ๊ฐ๋ฅํ์ง์ข ์ ํํ ์๋ ค์ฃผ์ธ์. ์ด ์ ์๋ ์ ์ฑ ์ด ์ด๋ป๊ฒ ๋๋๋ฐ์. ์ง์ ์ฐ๋ฝํ ๋ฉ์ผ์ด๋ผ๋ ์๋ ค์ฃผ์ธ์
reactreduxnode.js์น์ฑmongodb๋ค์ด์ณ
ใป
7๋ฌ ์
0
36
1
- ๋ฏธํด๊ฒฐ
๋ํ ๊ฐ์ ์๋ฃ ์ด๋ ๋ถ๊ฐ๋ฅ
์๋ ํ์ธ์๊ฐ์ ์ ๋ฃ๊ณ ์์ต๋๋ค ๋ํ๊ฐ์์๋ฃ ๋ค์ด๊ฐ๋ฉด ํ์ผ์ ์ฐพ์ง ๋ชปํ๋ค๊ณ ์ค๋ฅ๊ฐ ๋์ต๋๋ค<img src="https://cdn.inflearn.com/public/files/posts/34ddec
reactreduxnode.js์น์ฑmongodbsheepjune
ใป
10๋ฌ ์
0
94
1
- ๋ฏธํด๊ฒฐ
tailwindcss๋ฅผ vite์์ ์ด์ฉํ๋ ๋ฐฉ์์ด ๋ฐ๋๊ฒ ๊ฐ์ต๋๋ค.
npx init ~~ ๋ฅผ ์คํํ๋ฉด ์๋ฌ๊ฐ ์๊พธ ๋ฐ์ํด์, ์น์ฌ์ดํธ๋ฅผ ๊ฐ๋ณด๋ ๋ค์ด๋ฐ๋ ๋ฐฉ์์ด ์์ ๋ฐ๋ ๊ฒ ๊ฐ์ต๋๋ค.
reactreduxnode.js์น์ฑmongodb๋ฐ์ค์ฐ
ใป
0
1,041
2
- ๋ฏธํด๊ฒฐ
eslint ์ค์ ํ ์ค๋ฅ๊ฐ ๋ฉ๋๋ค.
๊ฐ์๋๋ก eslint ์ค์ ํ ํ { "extends" : [ "react-app" ] } npm run dev ํ๋ฉด
reactreduxnode.js์น์ฑmongodbCNTTECH
ใป
0
199
1
- ๋ฏธํด๊ฒฐ
์ค๋ฒ๋ก๋ ์ค๋ฅ
<img src="https://cdn.inflearn.com/public/files/posts/8d6eb027-576d-4431-a475-35f62b73ad45/0cab6e69-830d-450b-93ff-9715bc7bfae3.webp" media-type="img"
reactreduxnode.js์น์ฑmongodb๋ฐ๋ฏผํ
ใป
0
137
1
- ๋ฏธํด๊ฒฐ
VSCode์์ save๋ฅผ ํ ๋, landingpage์ useEffect๊ฐ ์คํ๋๋ ๋ฌธ์ ์ ๋ํ์ฌ
landingpage์์ useEffect๋ก fetchProducts๋ฅผ ํ๊ณ ์๋๋ฐ, VSCode development server๋ฅผ ์ผ๋๊ณ ํ์ง ์์ต๋๊น?๊ทผ๋ฐ vscode์์ save๋ฅผ ํ ๋ landingpage์ useEffect๊ฐ
reactreduxnode.js์น์ฑmongodb๋ฌธ์ฃผ์
ใป
0
152
1
- ๋ฏธํด๊ฒฐ
dispatch(logoutUser()) ์คํ์ dispatch(authuser())๋ ํจ๊ป ์คํ๋๋ ๋ฌธ์
dispatch(logoutUser()) ์คํ์ dispatch(authuser())๋ ํจ๊ป ์คํ๋๋ ๋ฌธ์ ๊ฐ ๋ฐ์ํ๊ณ ์๋๋ฐ ์์ธ์ ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
reactreduxnode.js์น์ฑmongodb๋ฌธ์ฃผ์
ใป
0
193
2
- ๋ฏธํด๊ฒฐ
logoutํ ๋, server๋ก ์์ฒญ์ ๋ณด๋ด์ authUser middleware๋ฅผ ํต๊ณผํ๋๋ก ํ๋ ์ด์ ?
logoutํ ๋, server๋ก ์์ฒญ์ ๋ณด๋ด์ authUser middleware๋ฅผ ํต๊ณผํ๋๋ก ํ๋ ์ด์ ?handleLogout function์์ local storage์ accessToken์ ์ญ์ ์ํค๊ณ , store์ user ์ ๋ณด๋ง initi
reactreduxnode.js์น์ฑmongodb๋ฌธ์ฃผ์
ใป
0
174
1







