[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-759796-105":59,"doc-detail-759796-en":129,"doc-similar-759796":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","microservices-with-nodejs","Microservices with Node.js","","Learn core Node.js concepts for building microservices, including how Node runs JavaScript on the V8 engine and handles concurrency with a single-threaded task dispatcher. Cover Node Package Manager (NPM) and the Express Node.js package, plus the MEAN stack as a practical full-stack approach. Walk through what Node.js is, its value proposition for web services and tooling, and a simple web server example. Explore project types, managing larger applications with modules, and key core modules.",{"@graph":69,"@context":121},[70,84,104],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/microservices-with-nodejs/759796/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":98,"encodingFormat":97,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/microservices-with-nodejs/759796.png","ImageObject",300,407,{"name":92,"@type":93},"cksankcs","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28",true,{"@type":101,"interactionType":102,"userInteractionCount":8},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"What is Node.js and what runtime does it use?","Question",{"text":111,"@type":112},"Node.js is a JavaScript runtime built on Chrome's V8 engine, running on supported operating systems as a native executable process.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"How does Node.js handle concurrency and asynchronous I/O?",{"text":116,"@type":112},"Node uses a single-threaded task dispatcher approach. For cross-platform asynchronous non-blocking I/O, it relies on the libuv library.",{"name":118,"@type":109,"acceptedAnswer":119},"What are the main types of Node.js projects?",{"text":120,"@type":112},"Node.js projects typically fall into executable applications run via the node command tool, and reusable libraries consumed by other applications or libraries.","https://schema.org",{"og:url":83,"og:type":123,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":125,"canonical":83},"index,follow",{"doc_id":127,"site_id":62},759796,1795895075,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":92,"user_avatar":132,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":138,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":128,"read_time":143,"preview_page_count":19,"preview_urls":144},3985747882755,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Microservices with Node.js  \n\n| Objectives |\n| --- |\n| In this module we will discuss:\u003Cbr>􀀁 Core Node.js concepts\u003Cbr>􀀁 Node Package Manager (NPM)\u003Cbr>􀀁 The Express Node.js package\u003Cbr>􀀁 The MEAN stack |\n\n1.1 What is Node.js?  \n􀀁 Node.js® [ [https://nodejs.org/](https://nodejs.org/) ] is a JavaScript runtime built on Chrome's V8 JavaScript engine-- it runs on a wide range of the supported OSes (*ix, OS X and Windows) as a native executable process  \n􀀁 Node.js (or, simply, Node) is used for hosting JavaScript applications running natively (not in a browser-like sandboxed environment) on the target OS  \n􀀁 It uses a single-threaded task dispatcher approach to concurrency  \n◊ There is a lot of system design similarities with the Windows® message loop implemented in the WinMain function:  \n([https://en. wikipedia.org/wiki/Message_loop_in_Microsoft_Windows](https://en. wikipedia.org/wiki/Message_loop_in_Microsoft_Windows))  \n􀀁 For cross-platform asynchronous (non-blocking) I/O operations (file and network), Node.js uses the libuv ([http://libuv.org/](http://libuv.org/)) library  \n􀀁 It comes with its own package manager, Node Package Manager (NPM), which manages the full life cycle of Node packages (libraries) and their dependencies  \n􀀁 Node is an excellent platform for building microservices  \nNotes:  \nThe V8 JavaScript engine, written in C++, also has a built-in Just in Time compiler that translates JavaScript code into high-performance code. V8 can run as a standalone application, or can be  \nembedded into any C++ application. It also supports multiple processor architectures: x86/64, ARM, MIPS, etc.  \n1.2 Node's Value Proposition  \n􀀁 Node.js is primarily used for rapid application development of web applications and web services  \n􀀁 Node.js is also used as a platform for creating command-line tools  \n◊ Many of the popular build, module dependency management, and testing tools, like Gulp, Grunt, Jasmine, at al, are written as Node.js applications  \n◊ Node.js is also used as the runtime for MongoDB  \nc~~(~~~~p~~sso:~~//~~le[www.m](www.mongodb.com/)~~[ongodb](www.mongodb.com/)~~[.com](www.mongodb.com/)~~[/](www.mongodb.com/))~~ JavaScript-based Admin command  \n1.3 Example of a Node.js App: a Simple Web Server  \n􀀁 The code below is all you need to create a very simple (and not very practical) Node app that can be used as a simple web server that acceptsan [HTTP client](HTTP client) request and sends back a Hello, Node! response  \n􀀁 The code is contained in a JavaScript file that we called hello.js  \nvar [http = require](http = require) (\"[http](http)\");  \n[http.createServer](http.createServer) (function(request, response) {  \nresponse .writeHead(200, {\"Content-Type\": \"text/plain\"}); response .write(\"Hello, Node!\");  \nresponse .end();  \n}) .listen(8088);  \nCanada  \n821A Bloor Street West Toronto, Ontario, M6G 1M1 1 866 206 4644 [getinfo@webagesolutions.com](getinfo@webagesolutions.com)  \nUnited States  \n436 YorkRoad, Suite 1  \nJenkintown, PA, 19046  \n1 877 517 6540 [getinfousa@webagesolutions.com](getinfousa@webagesolutions.com)  \n2  \n􀀁 You run the app on your \"server\" machine like this:  \nnode hello.js  \n􀀁 You can access the app by either using your browser or the curl tool:  \ncurl [http://](http://)\u003CIP address of your Node 'Web Server' app>:8088 Notes:  \nThe above code does the following:  \nThe first line imports the [http](http Node)[ Node](http Node) core module.  \nNext, we create an [HTTP listening end-point on port](HTTP listening end-point on port) 8088 and define a callback function that is invoked by the Node event loop process to handle incoming [HTTP requests](HTTP requests).  \nIn this simple example, we are handling all requests in the same way--just sending the same \"Hello, Node!\" response as plain text.  \nWe also do not make any differentiation for [HTTP methods or URLs of](HTTP methods or URLs of)the incoming client requests.  \n1.4 Node.js Project Types  \n􀀁 Most Node.js projects fall into two categories:  \n◊ Executable app","cbCaiuWZAY2D06u4","https://ap.wps.com/l/cbCaiuWZAY2D06u4","pdf",234387,14,"English","# Objectives\n## 1.1 What is Node.js?\n## 1.2 Node's Value Proposition\n## 1.3 Example of a Node.js App: a Simple Web Server\n## 1.4 Node.js Project Types\n## 1.5 Managing Large Applications\n## 1.6 Core Modules","[{\"question\":\"What is Node.js and what runtime does it use?\",\"answer\":\"Node.js is a JavaScript runtime built on Chrome's V8 engine, running on supported operating systems as a native executable process.\"},{\"question\":\"How does Node.js handle concurrency and asynchronous I/O?\",\"answer\":\"Node uses a single-threaded task dispatcher approach. For cross-platform asynchronous non-blocking I/O, it relies on the libuv library.\"},{\"question\":\"What are the main types of Node.js projects?\",\"answer\":\"Node.js projects typically fall into executable applications run via the node command tool, and reusable libraries consumed by other applications or libraries.\"}]","Microservices with Node.js | PDF",35,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/e6b166e78578db25ca6148e533f3c1f5.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/d08eeb387be0d58b0dedf1a5894997da.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/e0810d4ebf4178db6de0b102a5333565.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/ce008c37de289b69703c707c9172ff00.webp",980,1268,{"list":162,"token":66},[163,169,175,181,187,193,199,206,212,218],{"doc_id":164,"doc_title":165,"file_type":136,"home_preview_img_url":166,"slug":167,"view_count":8,"category_name":30,"create_tm":168},759801,"The Node.js Handbook - Introduction to Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485168/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Xf5Jg2ONKBHi6WZco0WP5Bdsr9A%3D","the-nodejs-handbook-introduction-to-nodejs",1795895118,{"doc_id":170,"doc_title":171,"file_type":136,"home_preview_img_url":172,"slug":173,"view_count":24,"category_name":30,"create_tm":174},692308,"How To Code in Node.js - Chapter 1 - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003200056/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=NbKCER4WIGz24a8ZiFpvYhW%2BxU8%3D","how-to-code-in-nodejs-chapter-1-getting-started",1794192939,{"doc_id":176,"doc_title":177,"file_type":136,"home_preview_img_url":178,"slug":179,"view_count":8,"category_name":30,"create_tm":180},759797,"Node.js Tutorial - Learn the Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485000/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Ysugw1a3C41kt64izXkjGd%2F8x%2Bo%3D","nodejs-tutorial-learn-the-basics",1795895077,{"doc_id":182,"doc_title":183,"file_type":136,"home_preview_img_url":184,"slug":185,"view_count":29,"category_name":30,"create_tm":186},692304,"Node.js Handbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003199810/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=RWzdsegyf%2FK4bRVvnHQZ%2FDcqqHA%3D","nodejs-handbook",1794192930,{"doc_id":188,"doc_title":189,"file_type":136,"home_preview_img_url":190,"slug":191,"view_count":8,"category_name":30,"create_tm":192},759798,"Node.js Notes for Professionals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485017/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=sfO687RmMpS0fZt%2FkjDtHXWPZ2o%3D","nodejs-notes-for-professionals",1795895079,{"doc_id":194,"doc_title":195,"file_type":136,"home_preview_img_url":196,"slug":197,"view_count":34,"category_name":30,"create_tm":198},692311,"Node.js Course","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003200153/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=8aNaYO2%2Fc00QGXC5nF7BwSldZKI%3D","nodejs-course",1794192942,{"doc_id":200,"doc_title":201,"file_type":136,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":30,"create_tm":205},391674,"Top 20 MEAN Interview Questions and Answers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917401383/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=PeAwP%2Fh94KEsvZyUZaz%2F4g69TxQ%3D","top-20-mean-interview-questions-and-answers",17,1790357245,{"doc_id":207,"doc_title":208,"file_type":136,"home_preview_img_url":209,"slug":210,"view_count":52,"category_name":30,"create_tm":211},692306,"Learning Node.js - A Hands-On Guide to Building Web Applications in JavaScript","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002737479/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=hMKDSTU0S1SX827xzhHLl6U%2BnbY%3D","learning-nodejs-a-hands-on-guide-to-building-web-applications-in-javascript",1794192934,{"doc_id":213,"doc_title":214,"file_type":136,"home_preview_img_url":215,"slug":216,"view_count":24,"category_name":30,"create_tm":217},692307,"The Essential Guide to the Node Package Manager - read online","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003199969/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=teI9f0OrYs%2Fkp%2BcV0XY5qJ2%2F3Ko%3D","the-essential-guide-to-the-node-package-manager-read-online",1794192935,{"doc_id":219,"doc_title":220,"file_type":136,"home_preview_img_url":221,"slug":222,"view_count":24,"category_name":30,"create_tm":223},692310,"Pro Node.js for Developers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003200149/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=ytoE%2BS0UEkN1IPlVz4Md14NLk2E%3D","pro-nodejs-for-developers",1794192941]