{"id":27784541,"url":"https://github.com/cbbddsecurity/node-js-practice","last_synced_at":"2026-04-11T12:03:16.409Z","repository":{"id":290506980,"uuid":"974647978","full_name":"CBBDDsecurity/Node-JS-Practice","owner":"CBBDDsecurity","description":"Its now practice server-side-programming for comptetive programming...","archived":false,"fork":false,"pushed_at":"2025-04-30T13:59:54.000Z","size":764,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T14:28:32.217Z","etag":null,"topics":["best-practices","component-testing","docker","e2e","eslint","express","integration-testing","mocha","nodejs","nodejs-cli","nodejs-development","styleguide","template","types"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/CBBDDsecurity.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,"zenodo":null}},"created_at":"2025-04-29T05:15:26.000Z","updated_at":"2025-04-30T13:59:57.000Z","dependencies_parsed_at":"2025-04-29T07:49:55.226Z","dependency_job_id":null,"html_url":"https://github.com/CBBDDsecurity/Node-JS-Practice","commit_stats":null,"previous_names":["cbbddsecurity/node-js-practice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBBDDsecurity%2FNode-JS-Practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBBDDsecurity%2FNode-JS-Practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBBDDsecurity%2FNode-JS-Practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBBDDsecurity%2FNode-JS-Practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CBBDDsecurity","download_url":"https://codeload.github.com/CBBDDsecurity/Node-JS-Practice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251721212,"owners_count":21632786,"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":["best-practices","component-testing","docker","e2e","eslint","express","integration-testing","mocha","nodejs","nodejs-cli","nodejs-development","styleguide","template","types"],"created_at":"2025-04-30T14:28:36.931Z","updated_at":"2026-04-11T12:03:16.333Z","avatar_url":"https://github.com/CBBDDsecurity.png","language":"JavaScript","readme":"# Node JS Practice 🚀\n\n![Node.js](https://img.shields.io/badge/Node.js-8CC84B?style=flat\u0026logo=node.js\u0026logoColor=white) ![NPM](https://img.shields.io/badge/NPM-CB3837?style=flat\u0026logo=npm\u0026logoColor=white) ![GitHub Releases](https://img.shields.io/badge/Releases-v1.0.0-blue?style=flat\u0026logo=github\u0026logoColor=white)\n\nWelcome to the **Node JS Practice** repository! This project serves as a practice ground for server-side programming, especially tailored for competitive programming enthusiasts. Whether you are a beginner or an experienced developer, this repository offers a variety of exercises and examples to sharpen your skills in Node.js.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Getting Started](#getting-started)\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Introduction\n\nIn today's tech landscape, mastering server-side programming is essential. This repository focuses on Node.js, a powerful JavaScript runtime that allows you to build scalable network applications. The exercises in this repository cover a wide range of topics, including file systems, HTTP requests, and more.\n\n## Getting Started\n\nTo get started with this project, clone the repository to your local machine. You can do this using the following command:\n\n```bash\ngit clone https://github.com/CBBDDsecurity/Node-JS-Practice.git\n```\n\nNext, navigate into the project directory:\n\n```bash\ncd Node-JS-Practice\n```\n\nTo install the necessary dependencies, run:\n\n```bash\nnpm install\n```\n\nYou can find the latest releases [here](https://github.com/CBBDDsecurity/Node-JS-Practice/releases). Download the required files and execute them to explore the functionalities.\n\n## Features\n\n- **Crypto Module**: Learn how to use Node.js's built-in crypto module for encryption and decryption.\n- **File System (fs)**: Work with files and directories, performing operations like reading, writing, and deleting.\n- **HTTP Module**: Create a simple web server and handle HTTP requests and responses.\n- **Postman Integration**: Test your APIs using Postman, a powerful tool for API development.\n- **Query Parameters**: Understand how to handle query parameters in your applications.\n- **Response Headers**: Learn how to manipulate response headers for better control over your API.\n- **Streams**: Explore how to work with streams for efficient data handling.\n\n## Technologies Used\n\nThis project utilizes a variety of technologies, including:\n\n- **Node.js**: The core runtime for building server-side applications.\n- **NPM**: The package manager for JavaScript, used to manage dependencies.\n- **Lodash**: A utility library for JavaScript that simplifies common programming tasks.\n- **Nodemon**: A tool that helps develop Node.js applications by automatically restarting the server when file changes are detected.\n\n## Usage\n\nTo run the application, use the following command:\n\n```bash\nnode app.js\n```\n\nMake sure to replace `app.js` with the name of the main file you wish to execute. You can also use Nodemon for automatic restarts:\n\n```bash\nnodemon app.js\n```\n\nFor more detailed instructions on each module, check the corresponding files in the repository.\n\n## Examples\n\n### Crypto Example\n\n```javascript\nconst crypto = require('crypto');\n\nconst algorithm = 'aes-256-cbc';\nconst key = crypto.randomBytes(32);\nconst iv = crypto.randomBytes(16);\n\nconst encrypt = (text) =\u003e {\n    let cipher = crypto.createCipheriv(algorithm, Buffer.from(key), iv);\n    let encrypted = cipher.update(text);\n    encrypted = Buffer.concat([encrypted, cipher.final()]);\n    return { iv: iv.toString('hex'), encryptedData: encrypted.toString('hex') };\n};\n\nconst decrypted = (text) =\u003e {\n    let decipher = crypto.createDecipheriv(algorithm, Buffer.from(key), Buffer.from(text.iv, 'hex'));\n    let decrypted = decipher.update(Buffer.from(text.encryptedData, 'hex'));\n    decrypted = Buffer.concat([decrypted, decipher.final()]);\n    return decrypted.toString();\n};\n\n// Example usage\nconst data = encrypt(\"Hello, World!\");\nconsole.log(data);\nconsole.log(decrypted(data));\n```\n\n### File System Example\n\n```javascript\nconst fs = require('fs');\n\n// Writing to a file\nfs.writeFile('example.txt', 'Hello, Node.js!', (err) =\u003e {\n    if (err) throw err;\n    console.log('File has been saved!');\n});\n\n// Reading from a file\nfs.readFile('example.txt', 'utf8', (err, data) =\u003e {\n    if (err) throw err;\n    console.log(data);\n});\n```\n\n## Contributing\n\nWe welcome contributions to this repository! If you have suggestions or improvements, feel free to fork the repository and submit a pull request. Please ensure that your code adheres to the project's coding standards and includes appropriate tests.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor questions or feedback, please reach out via the GitHub issues page or contact the repository owner directly.\n\nYou can find the latest releases [here](https://github.com/CBBDDsecurity/Node-JS-Practice/releases). Download the required files and execute them to explore the functionalities.\n\n---\n\nHappy coding! 🌟","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbbddsecurity%2Fnode-js-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbbddsecurity%2Fnode-js-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbbddsecurity%2Fnode-js-practice/lists"}