route
json-server
* ๐ค์ค์ ์
๋ฐ์ดํธ ์ฌํญ!
json-server๊ฐ ์ต๊ทผ์ ๋ฒ์ 0์์ 1๋ก ์
๋ฐ์ดํธ๋ฅผ ํ์ต๋๋ค! ( ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ํญ์ ๋์ ์์ด ์
๋ฐ์ดํธ๋ฅผ ํฉ๋๋ค) ํ์ง๋ง ์ต์ ๋ฒ์ ์ ์์ ์ ์ด์ง ์๋ค๋ ์ด์๊ฐ ๊ณ์ ์ฌ๋ผ์ค๊ณ ์์ด์ ์ด๋ฒ ์ค์ต์ ์งํํด์ฃผ์๋ ์ฌ๋ฌ๋ถ๋ค์ ๋ฒ์ 0๋ฒ๋๋ฅผ ์ฌ์ฉํด์ฃผ์ธ์!
| json-server ๋ค์ด๋ฐ๋ ๊ณณ | db.json์ ๋ฐ์ดํฐ ๊ฐ์ ธ์ค๋ ๊ณณ๐ | json-server ์ค์น |
json-server ์์ ๋ช ๋ น์ด |
| https://www.npmjs.com/package/json-server | https://gist.github.com/legobitna/24cf11ae95d53c9cdcdc7b0040f059e9 | npm i json-server@0.17.4 | json-server --watch db.json --port 5000 ๋งฅ๋ถ์ json-server --watch db.json --port 4000 * npx json-server --watch db.json --port 5000 |
๐ค ์ค์ ์
๋ฐ์ดํธ ์ฌํญ 2
๋งฅ๋ถ์ ํฌํธ๋ฒํธ 5000๋ฒ์ด ์ด๋ฏธ ์ฌ์ฉํ๊ณ ์๋ ํฌํธ ๋๋ฒ๋ผ์ 5000๋ฒ ์ธ์ ๋ค๋ฅธ ์ซ์๋ฅผ ๋ฃ์ด์ฃผ์
์ผ ํฉ๋๋ค! (์: 4000 ๋ฒ)

https://github.com/roseraph502on/shoppingMall
https://shopping-mall-liard.vercel.app/
'2024~ > React' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [๋ฆฌ์กํธ] ์ํ ๊ด๋ฆฌ Zustand (0) | 2025.04.12 |
|---|---|
| [๋ฆฌ์กํธ] ๋ ์จ์ฑ ๋ง๋ค๊ธฐ 1~6 (0) | 2025.04.10 |
| [๋ฆฌ์กํธ] ํจ์ํ ์ปดํฌ๋ํธ LifeCycle (0) | 2025.04.03 |
| [๋ฆฌ์กํธ] ๊ฐ์๋ฐ์๋ณด ์ฑ ๋ง๋ค๊ธฐ (์) (1) | 2025.04.01 |
| [๋ฆฌ์กํธ] useEffect (0) | 2025.03.05 |