https://github.com/ndeta100/node-server
Making a simple HTTP server in Node. js with no framework
https://github.com/ndeta100/node-server
http-server nodejs
Last synced: 3 months ago
JSON representation
Making a simple HTTP server in Node. js with no framework
- Host: GitHub
- URL: https://github.com/ndeta100/node-server
- Owner: Ndeta100
- Created: 2021-07-12T14:24:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-12T14:28:52.000Z (over 4 years ago)
- Last Synced: 2025-02-15T22:25:08.806Z (11 months ago)
- Topics: http-server, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Creating a Node js server with http
`.
const http = require('http');
Initiate demo_http.js: C:\Users\Your Name>node demo_http.js.
demo_http_url.js. var http = require('http'); http. createServer(function (req, res) { res. writeHead(200, {'Content-Type': 'text/html'}); res. ...
Initiate demo_http_url.js: C:\Users\Your Name>node demo_http_url.js.`