{"id":28271826,"url":"https://github.com/pedrochamberlain/nodejs-guide","last_synced_at":"2026-04-28T12:02:07.744Z","repository":{"id":123099591,"uuid":"338131212","full_name":"pedrochamberlain/nodejs-guide","owner":"pedrochamberlain","description":"A Node.js Beginner's Guide by Fireship","archived":false,"fork":false,"pushed_at":"2021-02-11T22:10:47.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T13:41:59.332Z","etag":null,"topics":["nodejs","tutorial"],"latest_commit_sha":null,"homepage":"https://youtu.be/ENrzD9HAZK4","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/pedrochamberlain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-02-11T19:31:04.000Z","updated_at":"2021-02-12T18:44:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"32a08124-b3b1-4553-8e6b-2fa590031f64","html_url":"https://github.com/pedrochamberlain/nodejs-guide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedrochamberlain/nodejs-guide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrochamberlain%2Fnodejs-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrochamberlain%2Fnodejs-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrochamberlain%2Fnodejs-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrochamberlain%2Fnodejs-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrochamberlain","download_url":"https://codeload.github.com/pedrochamberlain/nodejs-guide/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrochamberlain%2Fnodejs-guide/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["nodejs","tutorial"],"created_at":"2025-05-20T18:22:43.072Z","updated_at":"2026-04-28T12:02:07.730Z","avatar_url":"https://github.com/pedrochamberlain.png","language":"JavaScript","readme":"# Node.js Beginner's Guide\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600px\" src=\"https://cdn.pixabay.com/photo/2015/04/23/17/41/node-js-736399_960_720.png\"\u003e\u003cbr\u003e\n   \u003ca href=\"https://www.youtube.com/watch?v=ENrzD9HAZK4\" target=\"_blank\"\u003eBased on a Fireship Tutorial\u003c/a\u003e\n\u003c/p\u003e\n\n## What is Node.js?\n**Node.js is not a programming language**, but rather a JavaScript runtime built on Chrome's V8 JavaScript engine, which allows you to run JavaScript on a server. When JavaScript was first published in 1995, it was designed as a simple scripting language to run in the browser. At that time, most servers were written in Java or PHP. All of this changed in 2009, when we saw the initial release of Node.js.\n\nNode.js can do a lot. When you visit a URL on the Internet, that points to your server. When the request is received, we can use Node to handle the request and read a file from the server's filesystem and then respond back to the client so they can view the HTML in browser.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600px\" src=\"https://i.imgur.com/SwZq3c7.jpg\"\u003e\n\u003c/p\u003e\n\nCompared to traditional web-serving techniques where each request spawns a new thread, taking up system RAM and eventually maxing-out at the amount of RAM available, Node.js operates on a single-thread, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections held in the event loop. \n\nWhen Node.js starts, it initializes the event loop, processes the provided input script (or drops into the REPL, which is not covered in this document) which may make async API calls, schedule timers, or call process.nextTick(), then begins processing the event loop.\n\n## Setup\n[Download Node.js on it's official website](https://nodejs.org/en/).\n\nAfter installing Node.js, picking up a **NVM (Node Version Manager)** is heavily recommended:\n- **macOS/Linux:** [Node Version Manager](https://github.com/nvm-sh/nvm).\n- **Windows:** [Node for Windows](https://github.com/coreybutler/node-windows)\n\nNVM allows you to choose your preferable Node version when developing.\n```zsh\n$ node -v\nv10.22.0\n$ nvm install 12.16.3\nNow using node v12.16.3\n```\n\n## Links used\n- [Node.js Official Website](https://nodejs.org/en/)\n- [Node.js Ultimate Beginner's Guide in 7 Easy Steps](https://www.youtube.com/watch?v=ENrzD9HAZK4)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrochamberlain%2Fnodejs-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrochamberlain%2Fnodejs-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrochamberlain%2Fnodejs-guide/lists"}