Skip to content

Projeto Tutorial desenvolvido para testar HttpClient & Http, Build e consumo de API RESTful com Angular 8.

Notifications You must be signed in to change notification settings

TomCosta/Angular-ng8-httpclient

Repository files navigation

Ng8Httpclient

Ng8Httpclient

Projeto Tutorial desenvolvido para testar HttpClient & Http, Build e consumo de API RESTful com Angular 8

Faz uso de um Fake Backend Server com json-server

version Idioma status

Instalar Angular:

npm install @angular/cli -g

Clonar o repositório:

git clone https://github.com/TomCosta/ng8-httpclient.git

Instalar as dependências:

npm install

Rodar o backend json-server:

json-server --watch backend/database.json

Rodar o projeto localmente:

ng serve

This project was generated with Angular CLI version 8.3.23, Node.JS version 12.11.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.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

By Tom Costa

About

Projeto Tutorial desenvolvido para testar HttpClient & Http, Build e consumo de API RESTful com Angular 8.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published