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
- ์ฝ๋ฉํ ์คํธ
- Python
- ํ ์ดํ๋ก์ ํธ
- ํ์ด์ฌ
- ํ๋ก์ ํธ
- ๋ ธ๋ง๋์ฝ๋
- Til
- ๊ฐ๋ฐ
- ํ๋ก๊ทธ๋๋จธ์ค
- CSS
- ์ฝ๋ฉ
- ๋ฐฑ์ค
- ์๊ณ ๋ฆฌ์ฆ
- ๊ทธ๋ฆฌ๋
- fe
- ์ฝ๋ฉ์ ํ
- heapq
- KDT
- node.js
- JS
- ํ๋ก ํธ์๋
- HTML
- ๊ตญ๋น์ง์
- ํฌ๋กค๋ง
- ๋ชจ๊ฐ์ฝ
- javascript
- react
- error
- ๋๋ฆผ์ฝ๋ฉ
- mongodb
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