{"id":16490271,"url":"https://github.com/temilaj/angular2-refresh","last_synced_at":"2026-04-12T18:55:34.190Z","repository":{"id":123470079,"uuid":"78681290","full_name":"temilaj/Angular2-Refresh","owner":"temilaj","description":"Personal refresher course for angular 2","archived":false,"fork":false,"pushed_at":"2017-01-11T21:33:00.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T20:32:41.329Z","etag":null,"topics":["angular","angular2","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/temilaj.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-01-11T21:26:39.000Z","updated_at":"2017-06-01T09:22:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"99e2b0e2-d944-47bb-9cde-f3a7159e8268","html_url":"https://github.com/temilaj/Angular2-Refresh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FAngular2-Refresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FAngular2-Refresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FAngular2-Refresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temilaj%2FAngular2-Refresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/temilaj","download_url":"https://codeload.github.com/temilaj/Angular2-Refresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241325519,"owners_count":19944380,"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":["angular","angular2","nodejs"],"created_at":"2024-10-11T13:47:13.296Z","updated_at":"2025-11-23T22:04:55.038Z","avatar_url":"https://github.com/temilaj.png","language":"JavaScript","readme":"# Angular QuickStart Source\n[![Build Status][travis-badge]][travis-badge-url]\n\nThis repository holds the TypeScript source code of the [angular.io quickstart](https://angular.io/docs/ts/latest/quickstart.html),\nthe foundation for most of the documentation samples and potentially a good starting point for your application.\n\nIt's been extended with testing support so you can start writing tests immediately.\n\n**This is not the perfect arrangement for your application. It is not designed for production.\nIt exists primarily to get you started quickly with learning and prototyping in Angular**\n\nWe are unlikely to accept suggestions about how to grow this QuickStart into something it is not.\nPlease keep that in mind before posting issues and PRs.\n\n## Prerequisites\n\nNode.js and npm are essential to Angular development. \n    \n\u003ca href=\"https://docs.npmjs.com/getting-started/installing-node\" target=\"_blank\" title=\"Installing Node.js and updating npm\"\u003e\nGet it now\u003c/a\u003e if it's not already installed on your machine.\n \n**Verify that you are running at least node `v4.x.x` and npm `3.x.x`**\nby running `node -v` and `npm -v` in a terminal/console window.\nOlder versions produce errors.\n\nWe recommend [nvm](https://github.com/creationix/nvm) for managing multiple versions of node and npm.\n\n## Create a new project based on the QuickStart\n\nClone this repo into new project folder (e.g., `my-proj`).\n```bash\ngit clone  https://github.com/angular/quickstart  my-proj\ncd my-proj\n```\n\nWe have no intention of updating the source on `angular/quickstart`.\nDiscard everything \"git-like\" by deleting the `.git` folder.\n```bash\nrm -rf .git  # non-Windows\nrd .git /S/Q # windows\n```\n\n### Create a new git repo\nYou could [start writing code](#start-development) now and throw it all away when you're done.\nIf you'd rather preserve your work under source control, consider taking the following steps.\n\nInitialize this project as a *local git repo* and make the first commit:\n```bash\ngit init\ngit add .\ngit commit -m \"Initial commit\"\n```\n\nCreate a *remote repository* for this project on the service of your choice.\n\nGrab its address (e.g. *`https://github.com/\u003cmy-org\u003e/my-proj.git`*) and push the *local repo* to the *remote*.\n```bash\ngit remote add origin \u003crepo-address\u003e\ngit push -u origin master\n```\n## Install npm packages\n\n\u003e See npm and nvm version notes above\n\nInstall the npm packages described in the `package.json` and verify that it works:\n\n```bash\nnpm install\nnpm start\n```\n\nThe `npm start` command first compiles the application, \nthen simultaneously re-compiles and runs the `lite-server`.\nBoth the compiler and the server watch for file changes.\n\nShut it down manually with `Ctrl-C`.\n\nYou're ready to write your application.\n\n### npm scripts\n\nWe've captured many of the most useful commands in npm scripts defined in the `package.json`:\n\n* `npm start` - runs the compiler and a server at the same time, both in \"watch mode\".\n* `npm run tsc` - runs the TypeScript compiler once.\n* `npm run tsc:w` - runs the TypeScript compiler in watch mode; the process keeps running, awaiting changes to TypeScript files and re-compiling when it sees them.\n* `npm run lite` - runs the [lite-server](https://www.npmjs.com/package/lite-server), a light-weight, static file server, written and maintained by\n[John Papa](https://github.com/johnpapa) and\n[Christopher Martin](https://github.com/cgmartin)\nwith excellent support for Angular apps that use routing.\n\nHere are the test related scripts:\n* `npm test` - compiles, runs and watches the karma unit tests\n* `npm run e2e` - run protractor e2e tests, written in JavaScript (*e2e-spec.js)\n\n## Testing\n\nThe QuickStart documentation doesn't discuss testing.\nThis repo adds both karma/jasmine unit test and protractor end-to-end testing support.\n\nThese tools are configured for specific conventions described below.\n\n*It is unwise and rarely possible to run the application, the unit tests, and the e2e tests at the same time.\nWe recommend that you shut down one before starting another.*\n\n### Unit Tests\nTypeScript unit-tests are usually in the `app` folder. Their filenames must end in `.spec`.\n\nLook for the example `app/app.component.spec.ts`.\nAdd more `.spec.ts` files as you wish; we configured karma to find them.\n\nRun it with `npm test`\n\nThat command first compiles the application, then simultaneously re-compiles and runs the karma test-runner.\nBoth the compiler and the karma watch for (different) file changes.\n\nShut it down manually with `Ctrl-C`.\n\nTest-runner output appears in the terminal window.\nWe can update our app and our tests in real-time, keeping a weather eye on the console for broken tests.\nKarma is occasionally confused and it is often necessary to shut down its browser or even shut the command down (`Ctrl-C`) and\nrestart it. No worries; it's pretty quick.\n\n### End-to-end (E2E) Tests\n\nE2E tests are in the `e2e` directory, side by side with the `app` folder.\nTheir filenames must end in `.e2e-spec.ts`.\n\nLook for the example `e2e/app.e2e-spec.ts`.\nAdd more `.e2e-spec.js` files as you wish (although one usually suffices for small projects);\nwe configured protractor to find them.\n\nThereafter, run them with `npm run e2e`.\n\nThat command first compiles, then simultaneously starts the Http-Server at `localhost:8080`\nand launches protractor.  \n\nThe pass/fail test results appear at the bottom of the terminal window.\nA custom reporter (see `protractor.config.js`) generates a  `./_test-output/protractor-results.txt` file\nwhich is easier to read; this file is excluded from source control.\n\nShut it down manually with `Ctrl-C`.\n\n[travis-badge]: https://travis-ci.org/angular/quickstart.svg?branch=master\n[travis-badge-url]: https://travis-ci.org/angular/quickstart\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemilaj%2Fangular2-refresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemilaj%2Fangular2-refresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemilaj%2Fangular2-refresh/lists"}