{"id":22161350,"url":"https://github.com/hbweb/angular2-fundamentals","last_synced_at":"2025-07-01T12:05:07.616Z","repository":{"id":137305006,"uuid":"81262715","full_name":"hbweb/angular2-fundamentals","owner":"hbweb","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-18T19:46:22.000Z","size":1294,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:27:05.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/hbweb.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":"2017-02-07T22:46:22.000Z","updated_at":"2017-02-08T00:01:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"887cae8a-7d3a-46a3-aa61-bc8fac8bb525","html_url":"https://github.com/hbweb/angular2-fundamentals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hbweb/angular2-fundamentals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular2-fundamentals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular2-fundamentals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular2-fundamentals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular2-fundamentals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hbweb","download_url":"https://codeload.github.com/hbweb/angular2-fundamentals/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular2-fundamentals/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262959560,"owners_count":23391057,"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":[],"created_at":"2024-12-02T04:14:39.158Z","updated_at":"2025-07-01T12:05:07.597Z","avatar_url":"https://github.com/hbweb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular 2 Fundamentals\n\n## Project Setup and Tooling\n\n### Tools\n\nThis course is recorded with the following tools, you can optionally follow along using the same, or your favourite text editor/IDE and browser.\n\n*Text editor*: Visual Studio Code, you can [download it here](http://code.visualstudio.com) for both Mac, Windows and Linux.\n*Browser*: Google Chrome, you can [download it here](https://www.google.com/chrome)\n\n### Prerequisites\n\nPlease make sure that you have the following installed:\n\n* Install the _latest version_ of [Node.js](http://nodejs.org) (Mac or Windows)\n  * Mac users can optionally `brew install node` if they have [brew](http://brew.sh) installed\n\n* Node Sass, you _may_ need it if you haven't already got it installed:\n\n```bash\nnpm install -g node-sass\n```\n\n#### Package Manager\n\nTo install the project dependencies, you will need to install `yarn`. To install `yarn`, run the following in your terminal:\n\n```bash\nnpm install -g yarn\n```\n\nMac users can alternatively use `brew` to install `yarn`.\n\n```bash\nbrew update\nbrew install yarn\n```\n\nIf you experience any issues when installing/using `yarn` you can checkout the installation instructions [here](https://yarnpkg.com/en/docs/install).\n\n##### Project Dependencies\n\nNow that we have a package manager, we can install the project dependencies. You can do this by running:\n\n```bash\nyarn install\n```\n\nThis will install our dependencies for running our Angular application.\n\n#### Running the project\n\nDuring development, the project is built using `webpack-dev-server`. This provides a local development server as well as having webpack recompile our app when a file changes. The project will also automatically refresh the page whenever we make changes.\n\nTo start the project in development, run:\n\n```\nyarn start\n```\n\nThis will output some information about the project (such as the TypeScript version and build progress). Once you see \"build completed\", you are ready to code!\n\nOpen your browser to [localhost:4000](http://localhost:4000) to start running the code.\n\n### Project Tooling\n\nThe project uses `webpack` to build and compile all of our assets. This will do the following for us:\n\n- Compile all our TypeScript code into JavaScript (starting from `main.ts` and branching outwards from imported files)\n- Bundle all our JavaScript into one file to use\n- Allow us to use SASS for our component's CSS files\n- Provide the polyfills needed to run our app in all modern browsers\n- Mock a JSON backend using [json-server](https://github.com/typicode/json-server)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbweb%2Fangular2-fundamentals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhbweb%2Fangular2-fundamentals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbweb%2Fangular2-fundamentals/lists"}