{"id":25612453,"url":"https://github.com/ashesbloom/understanding-of-nodejs","last_synced_at":"2026-05-06T15:44:48.483Z","repository":{"id":228199267,"uuid":"773388207","full_name":"ashesbloom/Understanding-of-NODEJS","owner":"ashesbloom","description":"This repository is a comprehensive and well-documented guide for Node.js, providing detailed explanations, and best practices for developers looking to enhance their Node.js skills.","archived":false,"fork":false,"pushed_at":"2024-07-05T17:06:27.000Z","size":4851,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-05T22:14:23.947Z","etag":null,"topics":["authentication","ejs","http-methods","javascript","multer","mvc-pattern","node-js","npm-module"],"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/ashesbloom.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":"2024-03-17T14:31:15.000Z","updated_at":"2024-07-05T17:07:36.000Z","dependencies_parsed_at":"2024-06-15T07:22:04.281Z","dependency_job_id":"db95e9a5-7e5b-408b-8eba-5ed266c2ed00","html_url":"https://github.com/ashesbloom/Understanding-of-NODEJS","commit_stats":null,"previous_names":["ashesbloom/understanding-of-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashesbloom%2FUnderstanding-of-NODEJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashesbloom%2FUnderstanding-of-NODEJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashesbloom%2FUnderstanding-of-NODEJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashesbloom%2FUnderstanding-of-NODEJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashesbloom","download_url":"https://codeload.github.com/ashesbloom/Understanding-of-NODEJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240108480,"owners_count":19749029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["authentication","ejs","http-methods","javascript","multer","mvc-pattern","node-js","npm-module"],"created_at":"2025-02-22T00:27:10.656Z","updated_at":"2026-05-06T15:44:48.478Z","avatar_url":"https://github.com/ashesbloom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Understanding-of-NODEJS\n\n![Views](https://komarev.com/ghpvc/?username=ashesbloom\u0026repo=Locallens\u0026color=blue\u0026style=plastic\u0026label=Views+so+far)\n\n## Introduction\n\nThis repository is a comprehensive and well-documented guide for Node.js, providing detailed explanations, and best practices for developers looking to enhance their Node.js skills.\n\n## Prerequisites\n- Node.js\n- npm (Node Package Manager)\n- nodemon (Install globally with `npm install -g nodemon`)\n- Basic knowledge of command line interface (CLI) operations.\n\n## Installation\n\n### 1. Install Node.js\n\nTo install Node.js, follow these steps:\n\n1. Go to the [Node.js official website](https://nodejs.org/).\n2. Download the LTS (Long Term Support) version for your operating system.\n3. Follow the installation instructions for your specific operating system.\n\n### 2. Verify Node.js Installation\n\nTo verify the installation, open your terminal or command prompt and run the following command:\n\n```bash\nnode -v\n```\nThis should display the installed npm version.\n\n## Creating `package.json`\n\n1. Create a new directory for your project and navigate into it:\n\n```bash\nmkdir my-project\ncd my-project\n```\n2. Initialize a new npm project. This will create a `package.json` file:\n\n```bash\nnpm init -y\n```\n## Running Scripts\nTo run the scripts, use the following npm commands:\n\n### Example\nTo run the file handling script, use:\n```sh\nnpm run file\n```\n\n- **File Handling**: `npm run file`\n- **Module Management**: `npm run module`\n- **HTTP Server**: `npm run server`\n- **Server Logging**: `npm run server_log`\n- **URL Handling**: `npm run url`\n- **Express Server**: `npm run express`\n- **Express Methods**: `npm run methods`\n- **Middleware**: `npm run middleware`\n- **Server-Side Rendering**: `npm run render`\n- **Uploading file**: `npm run upload`\n\n## Package Scripts Configuration\n```json\n\"scripts\": {\n  \"file\": \"nodemon ./file_handling/file\",\n  \"module\": \"nodemon ./module/module\",\n  \"server\": \"nodemon ./http_server/index\",\n  \"server_log\": \"nodemon ./http_server/server_log\",\n  \"url\": \"nodemon ./url_handling/index\",\n  \"express\": \"nodemon ./express/index\",\n  \"methods\": \"nodemon ./express/methods\",\n  \"middleware\": \"nodemon ./Middleware/index\",\n  \"render\": \"nodemon ./server_side_rendering/server.js\"\n  \"upload\": \"nodemon ./upload_file/index.js\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashesbloom%2Funderstanding-of-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashesbloom%2Funderstanding-of-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashesbloom%2Funderstanding-of-nodejs/lists"}