일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- AWS EC2 서버 만들기
- javascript scope
- Linux apt-get
- HTTP Web Server
- arbitrum sepolia eth
- EC2 zsh
- Linux 디렉터리 명령어
- 아비트럼 새폴리아 이더 받는법
- EC2 Apache2
- Linux mkdir
- EC2 oh my zsh
- Linux 디렉터리 역할
- 서버의 서비스 방식
- EC2 HTTP 호스팅
- javascript 정렬
- Linux pwd
- Linux cd
- linux background
- Linux apt
- Linux oh my zsh
- UNPROTECTED PRIVATE KEY FILE
- Linux ls
- Linux 파일 관리 명령어
- Navigation Pattern
- Linux rmdir
- Logback
- Linux cat
- linux foreground
- Linux 디렉터리 구조
- ec2 ssh unprotected private key file
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
반응형