{"id":22492591,"url":"https://github.com/garystafford/restaurantangulardemo","last_synced_at":"2026-04-13T21:03:36.679Z","repository":{"id":74258986,"uuid":"107872392","full_name":"garystafford/RestaurantAngularDemo","owner":"garystafford","description":"Demo of Angular 4 application calling Web API 2 .NET RESTful microservices on Azure","archived":false,"fork":false,"pushed_at":"2017-12-27T14:29:46.000Z","size":554,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-05T02:22:56.659Z","etag":null,"topics":["angular","angular4","javascript"],"latest_commit_sha":null,"homepage":"","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/garystafford.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-10-22T14:18:56.000Z","updated_at":"2017-10-29T16:26:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2746867-2e15-4ea9-a063-c31c37dd6be5","html_url":"https://github.com/garystafford/RestaurantAngularDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garystafford%2FRestaurantAngularDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garystafford%2FRestaurantAngularDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garystafford%2FRestaurantAngularDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garystafford%2FRestaurantAngularDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garystafford","download_url":"https://codeload.github.com/garystafford/RestaurantAngularDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245920929,"owners_count":20694197,"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","angular4","javascript"],"created_at":"2024-12-06T18:19:21.488Z","updated_at":"2026-04-13T21:03:36.651Z","avatar_url":"https://github.com/garystafford.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular 4 Restaurant App Demo\n\nAngular 4 web application, developed for the following post, [Developing Applications for the Cloud with Azure App Services and MongoDB Atlas](https://wp.me/p1RD28-5ij). Application is designed to be deployed as Azure Web App, backed by the [Restaurant API](https://github.com/garystafford/RestaurantWebAPI).\n\n![Architecture](RestaurantDemoAPI.png)\n\n## Project Generator\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.4.9.\n\n## Development Server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code Scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running Unit Tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running End-to-End Tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further Help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n## Project Setup and Run Notes\n\n1. Download and install Node.js, npm, and Yarn\u003cbr\u003e\n   `npm install -g yarn`\n\n2. Install the Angular CLI globally\u003cbr\u003e\n  `yarn global add @angular/cli`\n\n  3. Install `ng-bootstrap` dependency into the project\u003cbr\u003e\n  `yarn add bootstrap@4.0.0-beta.2`\n\n4. Install `ng-bootstrap` into the project\u003cbr\u003e\n  `yarn add @ng-bootstrap/ng-bootstrap`\n\n5. Update dependencies (_optional_)\n\n```bash\nyarn global add david\ndavid update\nyarn add typescript@'\u003e=2.1.0 \u003c2.4.0' --save-dev\n```\n\n6. Transpile and run continuously in development\n\n```bash\nng serve --open --dev # local\nng serve --open --dev --env=prod # Azure/Atlas\n```\n\n7. Build for Development\n\n```bash\nng build --env=prod # local\nng build --env=prod # Azure/Atlas\n```\n\n8. Build for Production\u003cbr\u003e\n  `ng build --prod --env=prod`\n\n## References\n\n- \u003chttps://angular.io/guide/http#httpclient\u003e\u003e\n- \u003chttps://ng-bootstrap.github.io/#/getting-started\u003e\n- \u003chttps://coursetro.com/posts/code/64/How-to-Deploy-an-Angular-App-(Angular-4\u003e)\n- \u003chttps://www.intertech.com/Blog/deploying-angular-4-apps-with-environment-specific-info\u003e\n- \u003chttps://medium.com/beautiful-angular/angular-2-and-environment-variables-59c57ba643be\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarystafford%2Frestaurantangulardemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarystafford%2Frestaurantangulardemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarystafford%2Frestaurantangulardemo/lists"}