반응형
250x250
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 |
Tags
- 카이스트
- 대전맛집
- glfw
- 궁동
- nodeJS
- MySQL
- 카이스트맛집
- 컴퓨터그래픽스
- 자바
- node.js
- 우선순위큐
- computergraphics
- 위상정렬
- 백준
- 어은동맛집
- html
- 몰입캠프후기
- 리사이클러뷰
- 안드로이드스튜디오
- 몰입캠프
- 알고리즘
- DP
- 타입스크립트
- 프로그래머스
- 앱개발
- 프래그먼트
- 분리집합
- 자바스크립트
- 후기
- BFS
Archives
- Today
- Total
목록웹애플리케이션 (1)
소근소근
노드js(node js) express 공부/ [개념, 라우팅routing]
express는 '프레임워크(framework)'이며, 노드 js보다 쉽게 구현할 수 있도록 해준다. express를 쓰기 위해 먼저 설치를 해준다. $npm install express const express = require('express') const app = express() const port = 3000 app.get('/', (req, res) => { res.send('Hello World!') }) app.listen(port, () => { console.log(`Example app listening at http://localhost:${port}`) }) express로 hello world를 출력해보기 프로그램 실행은 $node app.js 명령어로 한다. port번호 30..
Node.js
2021. 7. 13. 15:53