Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- ์๊ณ ๋ฆฌ์ฆ
- Til
- ๊ฐ๋ฐ
- node.js
- ํ ์ดํ๋ก์ ํธ
- ๊ทธ๋ฆฌ๋
- JS
- error
- ๋ฐฑ์ค
- ๋๋ฆผ์ฝ๋ฉ
- mongodb
- ํ์ด์ฌ
- ํฌ๋กค๋ง
- heapq
- KDT
- fe
- ์ฝ๋ฉ์ ํ
- ํ๋ก์ ํธ
- ๋ชจ๊ฐ์ฝ
- CSS
- react
- ๋ ธ๋ง๋์ฝ๋
- HTML
- ๊ตญ๋น์ง์
- ํ๋ก ํธ์๋
- Python
- javascript
- ํ๋ก๊ทธ๋๋จธ์ค
- ์ฝ๋ฉํ ์คํธ
- ์ฝ๋ฉ
Archives
- Today
- Total
๋ชฉ๋กnodemon (1)
๐ฑ → ๐ณ
[node.js] ํ๋ ์์ํฌ ์์ด CRUD ๊ตฌํํด๋ณด๊ธฐ
๐ CRUD (Create, Read, Update, Delete) Create -> post read -> get update -> put delete -> delete ๐req, res req(uire) : ๋ธ๋ผ์ฐ์ ์์ ๋ค์ด์จ ์์ฒญ res(ponse): ์์ฒญ์ ๋ฐ๋ฅธ ์๋ฒ์ ์๋ต ๐ nodemon ์ฌ์ฉ "scripts": { "server": "nodemon js/main.js", "dev": "nodemon --watch \"./js/*.js\" --exec \"npm run server\"" }, package.json ํ์ผ ์์ sass ์ฒ๋ผ ํน์ ํ์ผ์๊ฒ --watch ๊ฑธ์ด ์ค ์๋ ์์ ๋ณํ๊ฐ ์ผ์ด๋๋ฉด --exec ์ต์ ์ผ๋ก ๋ช ๋ น์ด ์คํ ๊ฐ๋ฅ ๐ HTTPie ์๋ฒ์์ post ์์ฒญ โ ์ฝ๋ ์ ์ฒด..
Server/Node.js
2022. 8. 27. 15:16