JavaScript can serve both a web frontend and backend microservices running on Node.js. Using one language makes it easier to move between those parts of an application, but microservices do not require JavaScript; each service could use another language. section 2.3 section 1.11
A first microservice
A small HTTP server streams video to a browser. Its JavaScript code runs as a Node.js project on a development computer, providing a starting point for building more services. section 2.0 section 2.5
For local work, edit the service in VS Code or another editor and run it with Node.js. Express.js handles incoming HTTP requests, while nodemon provides live reload for faster feedback. Development and production modes have different needs; environment variables configure the service. section 2.5 section 2.9











