{"id":24875901,"url":"https://github.com/samuelsenerwa/alx-backend-javascript","last_synced_at":"2025-10-08T19:04:32.869Z","repository":{"id":183440171,"uuid":"670147625","full_name":"samuelsenerwa/alx-backend-javascript","owner":"samuelsenerwa","description":"Contains everything I did in back-end specialization in ALX","archived":false,"fork":false,"pushed_at":"2023-09-21T13:21:17.000Z","size":9159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T03:04:55.759Z","etag":null,"topics":["array","async","classes-and-objects","es6","inheritance","javascript","promise","typescript"],"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/samuelsenerwa.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":"2023-07-24T11:56:24.000Z","updated_at":"2023-07-31T09:41:37.000Z","dependencies_parsed_at":"2025-02-01T08:18:33.613Z","dependency_job_id":"4a4b09f6-9f6e-4741-b4c3-6f2f50a78f8d","html_url":"https://github.com/samuelsenerwa/alx-backend-javascript","commit_stats":null,"previous_names":["samuelsenerwa/alx-backend-javascript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuelsenerwa/alx-backend-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2Falx-backend-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2Falx-backend-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2Falx-backend-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2Falx-backend-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelsenerwa","download_url":"https://codeload.github.com/samuelsenerwa/alx-backend-javascript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2Falx-backend-javascript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266081245,"owners_count":23873511,"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":["array","async","classes-and-objects","es6","inheritance","javascript","promise","typescript"],"created_at":"2025-02-01T08:18:25.109Z","updated_at":"2025-10-08T19:04:27.822Z","avatar_url":"https://github.com/samuelsenerwa.png","language":"JavaScript","readme":"# Alx-backend-javascript\nThis repository contains all task for the short specialization at ALX from the basic concepts of ES6 to the advanced concepts. This work is solely my effort with no help from external resources other than the one provided by ALX.\n\n\u003cbr\u003e\n\n## ES6 Introduction\nJavaScript ES6 (also known as ECMAScript 2015 or ECMAScript 6) is the newer version of JavaScript that was introduced in 2015.\n\nECMAScript is the standard that JavaScript programming language uses. ECMAScript provides the specification on how JavaScript programming language should work.\n\nThis tutorial provides a brief summary of commonly used features of ES6 so that you can start quickly in ES6.\n\n\u003cbr\u003e\n\n## Project Setup\n### Install NodeJS 12.11.x\n```\ncurl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup.sh\nsudo bash nodesource_setup.sh\nsudo apt install nodejs -y\n```\n\n```\n$ nodejs -v\nv12.11.1\n$ npm -v\n6.11.3\n```\n\n### Install Jest, Babel, and ESLint\nin your project directory, install Jest, Babel and ESList by using the supplied `package.json` and run `npm install`.\n\n### Configuration files\nAdd the files below to your project directory\n\u003cbr\u003e\n\n`package.json` \n\n```\n{\n  \"scripts\": {\n    \"lint\": \"./node_modules/.bin/eslint\",\n    \"check-lint\": \"lint [0-9]*.js\",\n    \"dev\": \"npx babel-node\",\n    \"test\": \"jest\",\n    \"full-test\": \"./node_modules/.bin/eslint [0-9]*.js \u0026\u0026 jest\"\n  },\n  \"devDependencies\": {\n    \"@babel/core\": \"^7.6.0\",\n    \"@babel/node\": \"^7.8.0\",\n    \"@babel/preset-env\": \"^7.6.0\",\n    \"eslint\": \"^6.4.0\",\n    \"eslint-config-airbnb-base\": \"^14.0.0\",\n    \"eslint-plugin-import\": \"^2.18.2\",\n    \"eslint-plugin-jest\": \"^22.17.0\",\n    \"jest\": \"^24.9.0\"\n  }\n}\n```\n`babel.config.js`\n\n```\nmodule.exports = {\n  presets: [\n    [\n      '@babel/preset-env',\n      {\n        targets: {\n          node: 'current',\n        },\n      },\n    ],\n  ],\n};\n\n```\n\n`.eslintrc.js`\n\n```\nmodule.exports = {\n  env: {\n    browser: false,\n    es6: true,\n    jest: true,\n  },\n  extends: [\n    'airbnb-base',\n    'plugin:jest/all',\n  ],\n  globals: {\n    Atomics: 'readonly',\n    SharedArrayBuffer: 'readonly',\n  },\n  parserOptions: {\n    ecmaVersion: 2018,\n    sourceType: 'module',\n  },\n  plugins: ['jest'],\n  rules: {\n    'no-console': 'off',\n    'no-shadow': 'off',\n    'no-restricted-syntax': [\n      'error',\n      'LabeledStatement',\n      'WithStatement',\n    ],\n  },\n  overrides:[\n    {\n      files: ['*.js'],\n      excludedFiles: 'babel.config.js',\n    }\n  ]\n};\n\n```\n### Finally…\nDon’t forget to run `npm install` from the terminal of your project folder to install all necessary project dependencies.\n\n\u003cbr\u003e\n\n# Author\nSamuel Senerwa \n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelsenerwa%2Falx-backend-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelsenerwa%2Falx-backend-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelsenerwa%2Falx-backend-javascript/lists"}