Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/didinj/angular-httpclient-example
Angular Tutorial: Consume REST API using HttpClient Example
https://github.com/didinj/angular-httpclient-example
angular angular8 api client examples http httpclient rest restapi tutorial
Last synced: 6 days ago
JSON representation
Angular Tutorial: Consume REST API using HttpClient Example
- Host: GitHub
- URL: https://github.com/didinj/angular-httpclient-example
- Owner: didinj
- License: mit
- Created: 2019-09-27T02:41:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T01:37:13.000Z (over 1 year ago)
- Last Synced: 2024-11-01T23:42:30.320Z (13 days ago)
- Topics: angular, angular8, api, client, examples, http, httpclient, rest, restapi, tutorial
- Language: TypeScript
- Homepage: https://www.djamware.com/post/5b87894280aca74669894414/angular-tutorial-consume-rest-api-using-httpclient-example
- Size: 218 KB
- Stars: 9
- Watchers: 4
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular Tutorial: Consume REST API using HttpClient Example
This source code is part of [Angular Tutorial: Consume REST API using HttpClient Example](https://www.djamware.com/post/5b87894280aca74669894414/angular-tutorial-consume-rest-api-using-httpclient-example).
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.2.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.