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 that executes JavaScript outside web browsers and provides APIs for system and network operations.
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.
HTTP methoduses · An HTTP method is a standardized operation token in an HTTP request that specifies the intended action on a resource.
HTMLproduces · HTML (HyperText Markup Language) is the standard markup language for structuring content and elements in web documents.
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.