๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Develop Study ๐Ÿ’ป

Node.js MongoDB study

728x90

https://www.a-mean-blog.com/ko/blog/Node-JS-%EC%B2%AB%EA%B1%B8%EC%9D%8C/Hello-World/Express%EB%A1%9C-%EC%84%9C%EB%B2%84-%EC%8B%A4%ED%96%89%ED%95%98%EA%B8%B0

 

Node JS ์ฒซ๊ฑธ์Œ/Hello World!: Express๋กœ ์„œ๋ฒ„ ์‹คํ–‰ํ•˜๊ธฐ - A MEAN Blog

Express๋Š” node.js๋กœ ์„œ๋ฒ„๋ฅผ ๋งŒ๋“œ๋Š” framework์ž…๋‹ˆ๋‹ค. node.js์™€ Express๋ฅผ ์‚ฌ์šฉํ•ด์„œ ์ดˆ๊ฐ„๋‹จ ์›น์„œ๋ฒ„๋ฅผ ๋งŒ๋“ค์–ด ๋ด…์‹œ๋‹ค. git, node js/NPM, atom ์—๋””ํ„ฐ๋Š” ๋ชจ๋‘ ์„ค์น˜๋˜์–ด ์žˆ๊ฒ ์ง€์š”? git bash๋ฅผ ์‹คํ–‰ํ•œ ํ›„ ์•„๋ž˜ ์Šคํฌ๋ฆฐ์ƒท

www.a-mean-blog.com

 

https://www.a-mean-blog.com/ko/blog/Node-JS-%EC%B2%AB%EA%B1%B8%EC%9D%8C/%EC%A3%BC%EC%86%8C%EB%A1%9D-%EB%A7%8C%EB%93%A4%EA%B8%B0/%EC%A3%BC%EC%86%8C%EB%A1%9D-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EC%83%9D%EC%84%B1-%EB%B0%8F-mongoose%EB%A1%9C-DB-%EC%97%B0%EA%B2%B0

 

Node JS ์ฒซ๊ฑธ์Œ/์ฃผ์†Œ๋ก ๋งŒ๋“ค๊ธฐ: ์ฃผ์†Œ๋ก - ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ๋ฐ mongoose๋กœ DB ์—ฐ๊ฒฐ - A MEAN Blog

์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ์ฃผ์†Œ๋ก ์‹ค์Šต์„ ์œ„ํ•ด ์ƒˆ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  mongoose๋กœ DB๋ฅผ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค. Mongoose๋Š” mongoDB์™€ node.js์˜ ์˜ค๋ธŒ์ ํŠธ๋ฅผ ์—ฐ๊ฒฐํ•ด ์ฃผ๋Š” ORM library์ž…๋‹ˆ๋‹ค. ์ด๋ฒˆ ๊ฐ•์˜๋ฅผ ์ง„ํ–‰ํ•˜๊ธฐ ์ „์— ์ด์ „

www.a-mean-blog.com

https://solve-programming.tistory.com/22

 

[express]req.body ๊ฐ€ undefined ์ด๋ผ๊ณ  ๋œฐ ๋•Œ

์ด์œ  : body-parser ๊ฐ€ ๊น”๋ ค์žˆ์ง€ ์•Š์•„์„œ ํ•ด๊ฒฐ๋ฒ• 1. body-parser ์„ค์น˜ 2. app.use(express.json()); app.use(express.urlencoded( {extended : false } )); ์ถ”๊ฐ€

solve-programming.tistory.com

 

728x90