🔹 Port

Port is where my information should belong to, like Node or HTML.


🔹 MIME

MIME is a standard for the type of data being sent.


🔹 HTTP Web Server with Node.js

var http = require('http');
var fs = require('fs');

http.createServer(function (req, res) {
    res.writeHead(200, { 'Content-Type': 'text/html' });
    var data = fs.readFileSync('index.html', 'utf8');
    var message = 'Hello Luiji!';
    data = data.replace('{message}', message);
    res.end(data);
}).listen(1337, '127.0.0.1');

🔹 Including Streams in Web Server Node.js

fs.createReadStream('index.html', 'utf8').pipe(res);

🔹 End Point

An endpoint is a particular URL in a web API.


🔹 Serialize

Serialize means translating an object into a format that can be stored or transferred.


🔹 Routing

Routing is mapping HTTP requests to a specific content.