일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Linux apt
- Linux oh my zsh
- HTTP Web Server
- UNPROTECTED PRIVATE KEY FILE
- git 계정 설정
- Navigation Pattern
- Logback
- linux background
- 서버의 서비스 방식
- javascript 정렬
- EC2 oh my zsh
- Linux mkdir
- Linux cat
- 아비트럼 새폴리아 이더 받는법
- EC2 zsh
- EC2 HTTP 호스팅
- Linux rmdir
- EC2 Apache2
- Linux apt-get
- AWS EC2 서버 만들기
- ssl 인증서 발급받기
- Linux 디렉터리 역할
- nginx https 설정
- javascript scope
- GIT
- ec2 ssh unprotected private key file
- arbitrum sepolia eth
- git 기본 에디터
- Linux 디렉터리 구조
- linux foreground
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
반응형