{"id":4342,"date":"2019-04-26T16:37:38","date_gmt":"2019-04-26T11:07:38","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=4342"},"modified":"2019-04-26T16:43:00","modified_gmt":"2019-04-26T11:13:00","slug":"how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/","title":{"rendered":"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS"},"content":{"rendered":"\n<p><strong>HOW TO  INSTALL AND RUN THE SIMPLE WEB PAGE IN NODEJS IN WINDOWS<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"mce_0\"><strong>Date posted :25\/04\/2019<\/strong><\/h4>\n\n\n\n<p>We can download the node js from the following link.<\/p>\n\n\n\n<p><a href=\"https:\/\/nodejs.org\/en\/\">https:\/\/nodejs.org\/en\/<\/a><\/p>\n\n\n\n<p>And install the nodejs by clicking install.<\/p>\n\n\n\n<p>To test the nodejs installed, run the following code into the terminal<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>node --version<\/code><\/pre>\n\n\n\n<p>If nodejs installed it will shows the version of the nodejs<\/p>\n\n\n\n<p>We can check also using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>node \/\/ it runs the nodejs code.<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>>>console.log(\"Welcome To nodejs\");<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"349\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png\" alt=\"\" class=\"wp-image-4344\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/blognode.png 681w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/blognode-300x154.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>To run the simple webpage in server with the nodejs run the following code<\/p>\n\n\n\n<p>&gt;&gt;Open the text editor and past the following code and save it as index.js<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var http = require(\"http\");\nvar fs = require(\"fs\");\n\nvar server = http.createServer(function (req, res) {\n   console.log('request was made: ' + req.url);\n\n   res.writeHead(200, {'Content-Type': 'text\/html'});\n   var myReadStream = fs.createReadStream(__dirname + '\/login.html', 'utf8');\n   myReadStream.pipe(res);\n   \n   \/\/ Send the response body as \"Hello World\"\n\n  \n});\nserver.listen(8084, '127.0.0.1');\n\n\/\/ Console will print the message\nconsole.log('Server running at http:\/\/127.0.0.1:8084\/');\n\n<\/pre>\n\n\n\n<p>Then create a file and past the following code and save it as login.html.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\n\n\n\n&lt;!DOCTYPE html&gt;\n&lt;html lang=\"en\"&gt;\n   &lt;head&gt;\n      &lt;meta charset=\"utf-8\"&gt;\n      &lt;!-- This file has been downloaded from Bootsnipp.com. Enjoy! --&gt;\n      &lt;title&gt;Full screen background cover page. - Bootsnipp.com&lt;\/title&gt;\n      &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"&gt;\n      &lt;link href=\"http:\/\/netdna.bootstrapcdn.com\/bootstrap\/3.2.0\/css\/bootstrap.min.css\" rel=\"stylesheet\"&gt;\n      &lt;link href=\"css\/site.css\" rel=\"stylesheet\"&gt;\n      &lt;style type=\"text\/css\"&gt;\n        \n         .background {\n         background-color: green;\n         margin-left: -10px;\n         margin-top: 150px;\n         position: absolute;\n         opacity: 1;\n         left: 0px;\n         top: 0px;\n         bottom: 10px;\n         width: 100%;\n         height: 50%;\n         -ms-transform: rotate(-50deg); \/* IE 9 *\/\n         -webkit-transform: rotate(-6deg); \/* Safari 3-8 *\/\n         \/*transform: rotate(-20deg);*\/\n         background-repeat: repeat-x;\n         transform: skewY(-8deg);\n         \/* z-index: -1;\n         background-size: 100% 100%;\n         *\/\n         }\n         .background1 {\n         background-color: green;\n         margin-right: -10px;\n         margin-left: -13px;\n         position: absolute;\n         opacity: 1;\n         left: 0px;\n         top: 0px;\n         bottom: 10px;\n         width: 100%;\n         height: 50%;\n         }\n         .background2 {\n         color:white;\n         margin-left: 248px;\n         margin-top: 0px;\n         font-size: 20px;\n         }\n         .background3 {\n        background-color: white;\n        font-size: 20px;\n        margin-top: 10px;\n        color: black;\n        margin-left: 50px;\n         }\n         .loging{\n         margin-left: 629px !important;\n         }\n         .singup{\n         margin-left: 24px !important;\n         }\n         \n        \n         .big-title{\n        font-size: 30px;\n    color: #ffffff;\n    font-weight: 700;\n    line-height: 62px;\n    margin-bottom: 25px;\n    position: absolute;\n    margin-top: 150px;\n}\n.button{\n         \n        background-color: green;\n        width: 364px;\n        height: 37px;\n        font-size: 20px;\n}\n.reduse{\n  padding-bottom: 20px;\n}\n\n\n\n\n\n@import url('https:\/\/fonts.googleapis.com\/css?family=Numans');\n\nhtml,body{\n\nbackground-size: cover;\nbackground-repeat: no-repeat;\nheight: 100%;\nfont-family: 'Numans', sans-serif;\n}\n\n.container{\nheight: 100%;\nalign-content: center;\n}\n\n.card{\n\nmargin-top: 80px;\nmargin-bottom: auto;\nwidth: 400px;\nbackground-color: #f2f2f2;\npadding: 30px;\n\n\n\n}\n.align{\n  margin-top: -10px !important;\n  color: black;\n      margin-left: -17px;\n  \n}\n\n\n.social_icon span{\nfont-size: 60px;\nmargin-left: 10px;\ncolor: #FFC312;\n}\n\n.social_icon span:hover{\ncolor: white;\ncursor: pointer;\n}\n\n.card-header h3{\ncolor: black;\n}\n\n.social_icon{\nposition: absolute;\nright: 20px;\ntop: -45px;\n}\n\n.input-group-prepend span{\nwidth: 50px;\nbackground-color: #FFC312;\ncolor: black;\nborder:0 !important;\n}\n\ninput:focus{\noutline: 0 0 0 0  !important;\nbox-shadow: 0 0 0 0 !important;\n\n}\n\n\n\n.remember input\n{\nwidth: 20px;\nheight: 20px;\nmargin-left: 15px;\nmargin-right: 5px;\n}\n\n.chngcolor{\n\n  color: black;\n  font-size: 15px;\n   margin-top: -20px !important;\n}\n.alignimage{\n  margin-top: 90px;\n  height: 242px;\n  width: 282px;\n}\n    \n         \n         \n      &lt;\/style&gt;\n      <a href=\"http:\/\/code.jquery.com\/jquery-1.11.1.min.js\">http:\/\/code.jquery.com\/jquery-1.11.1.min.js<\/a>\n      <a href=\"http:\/\/netdna.bootstrapcdn.com\/bootstrap\/3.2.0\/js\/bootstrap.min.js\">http:\/\/netdna.bootstrapcdn.com\/bootstrap\/3.2.0\/js\/bootstrap.min.js<\/a>\n   &lt;\/head&gt;\n   &lt;body&gt;\n      <div class=\"container\">\n\n            \n       \n         <div class=\"row\">\n            <div class=\"background1\">\n               <a class=\"background2\" href=\"\">hostnode2<\/a>\n               <a class=\"background2 loging\" href=\"\">login<\/a>\n               <a class=\"background2 singup\" href=\"\">signup<\/a>\n            <\/div>\n         &lt;\/div&gt;\n         \n         <div class=\"row background\">\n          <\/div>\n\n          <div class=\"big-title\">\n            <div class=\"col-md-6\">\n               <div class=\"row\">\n              High Performance Server<br>At your Service\n               <\/div>\n\n                   <div class=\"row\">\n                                     <\/div>\n            &lt;\/div&gt;\n\n\n\n         <div class=\"col-md-3\">\n         <\/div>\n\n\n\n <div class=\"col-md-3\">         \n          \n<div class=\"row big-text-form\">\n         <div class=\"row big-text-form\">\n            <div class=\"d-flex justify-content-center h-100\">\n               <div class=\"card\">\n\n                  <div class=\"card-body\">\n\n                    <div class=\"card-header align\">\n                     <p><h2>Get Started with<\/h2><\/p>\n                      <p><h2>Hostnode<\/h2><\/p>\n                  <\/div>\n                     &lt;form&gt;\n\n\n                   <div class=\"row\">\n                        <div class=\"input-group form-group\">\n                           \n                          <p class=\"chngcolor\">Email Address<\/p> \n                        <\/div>\n                        <div class=\"input-group form-group\">\n                           <div class=\"input-group-prepend\">\n                              <span class=\"input-group-text\"><i class=\"fas fa-key\"><\/i><\/span>\n                           <\/div>\n                           &lt;p class=\"chngcolor\"&gt;password&lt;\/p&gt;&lt;input type=\"password\" class=\"form-control chngcolor\" placeholder=\"Enter your password\"&gt;\n                        &lt;\/div&gt;\n                        <div>\n                           <button type=\"button\" class=\"btn btn-success button\">Sign up<\/button>\n                        <\/div>\n                     &lt;\/form&gt;\n                  &lt;\/div&gt;\n                 \n               &lt;\/div&gt;\n            &lt;\/div&gt;\n         &lt;\/div&gt;\n    &lt;\/div&gt;          \n   &lt;\/div&gt;       \n         \n      &lt;\/div&gt;\n   &lt;\/body&gt;\n&lt;\/html&gt;\n\n\n\n\n<\/pre>\n\n\n\n<p>Then open the command prompt run the following code.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>>>node index.js<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>>>node index.js<\/code><\/pre>\n\n\n\n<p>You can get the following output.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"216\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/node1.png\" alt=\"\" class=\"wp-image-4346\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/node1.png 643w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/node1-300x101.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<p><br> <br>    In browser you can run http:\/\/127.0.0.1.8084, It will load our webpage.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/node2-1024x526.png\" alt=\"\" class=\"wp-image-4347\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/node2-1024x526.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/node2-300x154.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/node2-768x394.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/node2.png 1355w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> <br> Thanks for using pheonixsolutions.   <br> <br>You find this tutorial helpful? Share with your friends to keep it alive.  <br>       <br>      <br>       <br>       <br>       <\/p>\n\n\n\n<p>  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE IN NODEJS IN WINDOWS Date posted :25\/04\/2019 We can download the node js from the following link. https:\/\/nodejs.org\/en\/ And install the nodejs by clicking install. To test the nodejs installed, run the following code into the terminal If nodejs installed it&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[628,629],"tags":[630,631],"class_list":{"0":"post-4342","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-node-js","7":"category-windows","8":"tag-install-nodejs","9":"tag-sample-webpage-run-using-nodejs","10":"h-entry","12":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE IN NODEJS IN WINDOWS Date posted :25\/04\/2019 We can download the node js from the following link. https:\/\/nodejs.org\/en\/ And install the nodejs by clicking install. To test the nodejs installed, run the following code into the terminal If nodejs installed it&hellip; Continue Reading HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-26T11:07:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-26T11:13:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS\",\"datePublished\":\"2019-04-26T11:07:38+00:00\",\"dateModified\":\"2019-04-26T11:13:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/\"},\"wordCount\":170,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/blognode.png\",\"keywords\":[\"Install nodeJS\",\"sample webpage run using nodejs\"],\"articleSection\":[\"NODE JS\",\"WINDOWS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/blognode.png\",\"datePublished\":\"2019-04-26T11:07:38+00:00\",\"dateModified\":\"2019-04-26T11:13:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/blognode.png\",\"contentUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/blognode.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE IN NODEJS IN WINDOWS Date posted :25\/04\/2019 We can download the node js from the following link. https:\/\/nodejs.org\/en\/ And install the nodejs by clicking install. To test the nodejs installed, run the following code into the terminal If nodejs installed it&hellip; Continue Reading HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS","og_url":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2019-04-26T11:07:38+00:00","article_modified_time":"2019-04-26T11:13:00+00:00","og_image":[{"url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS","datePublished":"2019-04-26T11:07:38+00:00","dateModified":"2019-04-26T11:13:00+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/"},"wordCount":170,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png","keywords":["Install nodeJS","sample webpage run using nodejs"],"articleSection":["NODE JS","WINDOWS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/","url":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png","datePublished":"2019-04-26T11:07:38+00:00","dateModified":"2019-04-26T11:13:00+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#primaryimage","url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png","contentUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/04\/blognode.png"},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-and-run-the-simple-web-page-using-nodejs-in-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"HOW TO INSTALL AND RUN THE SIMPLE WEB PAGE USING NODEJS IN WINDOWS"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-182","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4342"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4342\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}