{"id":18321983,"url":"https://github.com/nishigaba/node-js-web-server","last_synced_at":"2026-04-28T18:33:10.565Z","repository":{"id":120863668,"uuid":"92966565","full_name":"NishiGaba/Node-JS-Web-Server","owner":"NishiGaba","description":"Node JS Web Server helps in handling HTTP Requests and Serving HTML Files to the Browser.","archived":false,"fork":false,"pushed_at":"2017-10-12T16:32:44.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T14:41:13.773Z","etag":null,"topics":["javascript","nodejs","server","web-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NishiGaba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-31T16:30:09.000Z","updated_at":"2022-04-08T07:02:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"84c658c2-0650-4386-8415-4d387235c3a8","html_url":"https://github.com/NishiGaba/Node-JS-Web-Server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NishiGaba/Node-JS-Web-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishiGaba%2FNode-JS-Web-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishiGaba%2FNode-JS-Web-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishiGaba%2FNode-JS-Web-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishiGaba%2FNode-JS-Web-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NishiGaba","download_url":"https://codeload.github.com/NishiGaba/Node-JS-Web-Server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NishiGaba%2FNode-JS-Web-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32394429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","nodejs","server","web-server"],"created_at":"2024-11-05T18:22:45.369Z","updated_at":"2026-04-28T18:33:10.549Z","avatar_url":"https://github.com/NishiGaba.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node-JS-Web-Server Setup\n\n## Node JS\n\nNode.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.\n\n\n## Project Description and Features\n\n* Installing and Setting up Node.js\n* Nodejs.org Code\n* Handling http Requests\n* NPM / Modules\n* Serving HTML Files\n\n\n## Project Sections\n\n* Installing and Setting Up Node.js\n* NPM and Basic HTTP Server\n* Serving HTML Files\n\n## Section 1 (Installing and Setting Up Node.js)\n\nInstall NodeJS from the official node.js Site: [nodejs.org](https://nodejs.org/en/)\n\n\n## Section 2 (NPM and Basic HTTP Server)\n\n### NPM \n\nNode.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.\nTo dig deeper, visit [npmjs.com](https://www.npmjs.com/)\n\n\n### Node JS Web Server \n\nNode JS Web Server helps in handling HTTP Requests and Serving HTML Files to the Browser.\n\n### Setting Up HTTP Server\n\n\t```\tconst http = require('http');\n\n\t\tconst hostname = '127.0.0.1';\n\t\tconst port = 3000;\n\n\t\tconst server = http.createServer((req, res) =\u003e {\n\t\t  res.statusCode = 200;\n\t\t  res.setHeader('Content-Type', 'text/plain');\n\t\t  res.end('Hello World\\n');\n\t\t});\n\n\t\tserver.listen(port, hostname, () =\u003e {\n\t\t  console.log(`Server running at http://${hostname}:${port}/`);\n\t\t});```\n\nTo dig deeper in NodeJS Web Server,visit this link: [Getting_Started_Guide](https://nodejs.org/en/docs/guides/getting-started-guide/)\n\n\n## Section 3 (Serving HTML Files)\n\ncoming soon...\n\n\n\n## License\n\nMIT © [Nishi Gaba](https://github.com/NishiGaba)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishigaba%2Fnode-js-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnishigaba%2Fnode-js-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnishigaba%2Fnode-js-web-server/lists"}