https://github.com/engelpain/angular-rest
Conneting an API REST with an Angular App
https://github.com/engelpain/angular-rest
angular javascript js rest-api
Last synced: about 2 months ago
JSON representation
Conneting an API REST with an Angular App
- Host: GitHub
- URL: https://github.com/engelpain/angular-rest
- Owner: engelpain
- License: mit
- Created: 2019-08-16T17:48:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T16:40:23.000Z (over 4 years ago)
- Last Synced: 2025-10-28T03:10:50.478Z (8 months ago)
- Topics: angular, javascript, js, rest-api
- Language: TypeScript
- Size: 1.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rest
Creating an example to query a API Rest using Angular.
Original tutorial by [Carlos Rojas](https://blog.ng-classroom.com/blog/authors/carlosrojas):
[Connecting a REST API with Angular](https://blog.ng-classroom.com/blog/angular/rest-api-with-angular/)
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.1.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app 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. Use the `--prod` flag for a production build.
## 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 [Protractor](http://www.protractortest.org/).
## Further help
To 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).