일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Linux apt-get
- Linux cd
- Linux 파일 관리 명령어
- EC2 HTTP 호스팅
- Linux cat
- EC2 oh my zsh
- Linux mkdir
- Navigation Pattern
- linux background
- Linux 디렉터리 구조
- UNPROTECTED PRIVATE KEY FILE
- javascript 정렬
- 아비트럼 새폴리아 이더 받는법
- linux foreground
- EC2 Apache2
- HTTP Web Server
- Logback
- EC2 zsh
- Linux oh my zsh
- arbitrum sepolia eth
- Linux 디렉터리 역할
- AWS EC2 서버 만들기
- Linux pwd
- ec2 ssh unprotected private key file
- Linux rmdir
- Linux apt
- 서버의 서비스 방식
- javascript scope
- Linux 디렉터리 명령어
- Linux ls
Archives
- Today
- Total
목록Express (1)
HyunJun 기술 블로그
728x90
반응형
Node.js HTTP Module, Express
1. 서버 모듈 HTTP Module: 웹 서버를 만들기 위한, Node.js의 서버 모듈 Express: 웹 서버를 만들기 위한 Node.js의 웹 프레임워크, 서버 모듈, HTTP Module보다 더 간편, 많은 기능 2. 코드 비교 1) HTTP Module // http module. const http = require("http"); const httpPort = 3000; // HTTP Module Server const httpModuleServer = http.createServer((req, res) => { if (req.method === "GET" && req.url === "/http") { res.writeHead(200, { "Content-Type": "text/html",..
Express
2023. 6. 21. 17:28
728x90
반응형