{"id":19485391,"url":"https://github.com/sundramsharma1/backend-nodejs-express","last_synced_at":"2026-05-05T09:31:12.533Z","repository":{"id":253383446,"uuid":"843342178","full_name":"sundramsharma1/Backend-Nodejs-Express","owner":"sundramsharma1","description":"Backend With Node.js ( Express.js )","archived":false,"fork":false,"pushed_at":"2024-08-23T05:14:18.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T18:39:01.100Z","etag":null,"topics":["backend","expressjs","mern-stack","nodejs"],"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/sundramsharma1.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-08-16T09:57:17.000Z","updated_at":"2024-08-23T05:14:22.000Z","dependencies_parsed_at":"2024-08-16T11:23:09.635Z","dependency_job_id":"46698843-9680-443d-98eb-b43ba1333349","html_url":"https://github.com/sundramsharma1/Backend-Nodejs-Express","commit_stats":null,"previous_names":["sundramsharma1/backend-nodejs-express-"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sundramsharma1/Backend-Nodejs-Express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundramsharma1%2FBackend-Nodejs-Express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundramsharma1%2FBackend-Nodejs-Express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundramsharma1%2FBackend-Nodejs-Express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundramsharma1%2FBackend-Nodejs-Express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundramsharma1","download_url":"https://codeload.github.com/sundramsharma1/Backend-Nodejs-Express/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundramsharma1%2FBackend-Nodejs-Express/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backend","expressjs","mern-stack","nodejs"],"created_at":"2024-11-10T20:27:37.091Z","updated_at":"2026-05-05T09:31:12.334Z","avatar_url":"https://github.com/sundramsharma1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n  ![GitHub repo size](https://img.shields.io/github/repo-size/sundramsharma1/Backend-Nodejs-Express)\n  ![GitHub stars](https://img.shields.io/github/stars/sundramsharma1/Backend-Nodejs-Express?style=social)\n  ![GitHub forks](https://img.shields.io/github/forks/sundramsharma1/Backend-Nodejs-Express?style=social)\n  [![Twitter Follow](https://img.shields.io/twitter/follow/StarkSundram?style=social)](https://twitter.com/intent/follow?screen_name=StarkSundram)\n  \n  \u003cbr /\u003e\n  \u003cbr /\u003e\n\n  \u003ch1 align=\"center\"\u003eBackend (Node.js, Express.js)\u003c/h1\u003e \n  \u003cp\u003eIn this repo, we will learn about backend development using Node.js with Express.js in depth.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n* [Node.js](https://nodejs.org/en) must be installed on your operating system.\n\n### Run Locally\n\nTo run your program on your local machine, type this command in your command prompt and hit enter:\n\n```bash\nnode \u003cfilename\u003e.js\n```\n\u003ch1 align=\"center\"\u003e Start \u003c/h1\u003e\n\u003cbr\u003e\n\n# Chapter_1(Basics)\n* Process = Process command is use to get details about node which is install on your local machine\n  \n   ```bash\n  node \u003c-|\n  process \u003c-|\n  ```\n  * Process.argv = Process.argv is use to take command line argument to run our programm\n  \n  ```bash\n  let n = process.argv;\n  for(let i = 2; i \u003c n.length; i++){\n    console.log(\"Hiii\", n[i]);\n  };\n  ```\n* To run this program type this command on command prompt\n   \n  ```bash\n  node \u003cfilename\u003e.js \u003carguments\u003e\n  ```\n\n   lets suppose i type this\n  \n    ```bash\n    node process.js sundram mohit\n    ```\n\n   it will produce the output as\n  \n    ```bash\n    Hii sundram\n    Hii mohit\n    ```\n\n# Chapter_2 (Exporting File or Folder)\n  * Require() = A built-in-function to include modules that exist in seperate files\n  * Modules.export = A special object \u003cbr\u003e\u003cbr\u003e\n### Exporting a Single File =\u003e\n## Example =\u003e \u003cbr\u003e\u003cbr\u003e\n    \n   File.js\n    \n   ```bash\n    module.exports = 123;\n   ```\n   script.js\n  \n  ```bash\n    const data = require('./File');\n    console.log(data);\n  ```\n   O/P = 123\n\n### Exporting a Entire Directories =\u003e \n##  Example =\u003e \u003cbr\u003e\n   * Folder Structure\n     \n     ```bash\n            main/\n           │\n           ├── Fruits/\n           │   ├── Apple.js\n           │   ├── Banana.js\n           │   ├── Orange.js\n           │   └── index.js\n           │\n           └── script.js\n     ```\n   * Apple.js\n     ```bash\n     const apple = {\n        name: 'Apple',\n        color: 'Red',\n        price: 90\n     };\n\n     module.exports = Apple;\n     ```\n     \n   * Banana.js\n     ```bash\n     const Banana = {\n        name: 'Banana',\n        color: 'Yellow',\n        price: 50\n     };\n\n      module.exports = Banana;\n      ```\n   * Orange.js\n      ```bash\n      const Orange = {\n         name: 'Orange',\n         color: 'Yellow',\n         price: 60\n     };\n\n     module.exports = Orange;\n     ```\n  * index.js\n    ```bash\n    const apple = require('./Apple');\n    const banana = require('./Banana');\n    const orange = require('./Orange');\n\n    module.exports = {apple, banana, orange};\n    ```\n   * Script.js\n   ```bash\n   const info = require('./Fruits');\n   console.log(info);\n   ```\n   * O/P = \u003cbr\u003e\n    { \u003cbr\u003e\n    apple: { name: 'Apple', color: 'Red', price: 90 },\u003cbr\u003e\n    banana: { name: 'Banana', color: 'Yellow', price: 50 },\u003cbr\u003e\n    orange: { name: 'Orange', color: 'Yellow', price: 60 }\u003cbr\u003e\n    }\n## Require() Vs Import\n  ### Require() = \n  * We Can't Selectively load only the pices we need\n  * It is a old method to load any file before (ES6)\n  * It is used to load whole file at a time\n  * module.exports = file_name;\n  * In this method Loading is Synchronous Means line wise module loaded\n  ### Import() = \n  * We can selectively load only the pices we need, which can save the memory\n  * It is a new method after (ES6) version and it is use to load a single module which is faster than require\n  * export\n  * In this method loading can be Asynchronous means we can be use first function or last function or any function\n\n\u003ch1 align=\"center\"\u003e Express.js \u003ch1/\u003e\n\n## Library Vs Framework \n  ### Library = \n  \n  * A library is a collection of pre written code that can be used to perform specific tasks\n  * Ex - Axios\n\n  ### Framework = \n\n  * A Framework is a set of pre-written code that provides a structure for developing software applications\n  * Ex - express.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundramsharma1%2Fbackend-nodejs-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundramsharma1%2Fbackend-nodejs-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundramsharma1%2Fbackend-nodejs-express/lists"}