Express is a Node.js web application framework for building HTTP servers and request-handling routes.
Express is a Node.js framework for building HTTP servers and handling browser requests with less code than the low-level Node.js API. It fits naturally into small microservices, including services that stream video. section 2.6.2section 2.6
Build a minimal Express server incrementally:
Create a Node.js project and install Express with npm install --save express. section 2.6.2
Require Express, create an application object, and define a GET route with app.get. section 2.6.3
Return content with res.send, then call app.listen to accept requests on port 3000. section 2.6.3
Extend the baseline with a /video route that retrieves streaming video for a browser. section 2.6
Node.jsuses · Node.js is an open-source JavaScript runtime built on the V8 engine for executing JavaScript outside web browsers.
HTMLproduces · HTML is the standard markup language for structuring content and elements in documents on the web.
serveruses · A server is a computer system or software process that provides data, resources, or services to other systems, often in response to requests.
HTTP methoduses · An HTTP method is a standardized token in an HTTP request that indicates the operation the client intends to perform on a resource.
Next.jsalternative to · Next.js is a React-based web application framework that provides features such as routing, rendering strategies, server-side capabilities, and build tooling.
This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.