Skip to content

Aqui iremos consumir uma #API FAKE em Front-end, usando o client nativo do Angular.

Notifications You must be signed in to change notification settings

chagasleandro/Angular-ApiRequest

Repository files navigation

Tutorial Angular API Request

About   |   Technologies   |   Requirements   |   Starting   |   Author  |  


PRs welcome! License

🎯 About

Here we will learn in practice how to #consume an #API in Front-end, using Angular's native client. It's very easy and was very well explained.

🚀 Technologies

This project was developed using the following technologies:

ANGULAR HTML SCSS TypeScrit

✅ Requirements

Before starting 🏁, you need to have Git and ANGULAR installed.

🏁 Starting

# cloning this repository
$ git clone https://github.com/chagasleandro/Angular-ApiRequest
# Acces
$ cd Angular-ApiRequest
# Install dependencies
$ npm
# Run the project
$ ng serve -o
# The server will initialize in the <https://localhost:4200>

Documentação API Request

This project is a tutorial on how to use the native client of the Angular Framework for HTTP requests by the Hello World School class and the support material:

API-Request - (https://www.apirequest.io)

Installing the Dependencies:

$ npm install

Development Server:

Antes de tudo deve-se instalar o json-server para simular uma API, para isso executar:


`npm install -g json-server`


Após instalar, navegar até a pasta Fake API e executar:


json-server --watch db.json

Execute o APP

Execute ng serve to a dev server. Navegue até http://localhost:4200/. The app will automatically reload if you change any of the source files.


Understand how to make a POST, GET, UPDATE, DELETE using the consecradíssimo's native client #Angular

.

About

Aqui iremos consumir uma #API FAKE em Front-end, usando o client nativo do Angular.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published