Code Monkey home page Code Monkey logo

react-fetch-data's Introduction

REACT FETCH DATA.

1 - INTRODUÇÃO À CAPTURA DE DADOS

Criando o projeto React

npx create-react-app app_01

Roda o projeto

npm start
  • Exemplo: app_01

2 - FETCH DE DADOS JSON.

  • Exemplo: app_02

3 - ADICIONAR AXIOS E EXEMPLO BÁSICO.

  • Exemplo: app_03

Axios.

Axios é um cliente HTTP baseado em promessa simples para o navegador e node.js. O Axios fornece uma biblioteca simples de usar em um pequeno pacote com uma interface muito extensível.

Instalando o Axios

npm install axios

DummyJSON

Com DummyJSON, o que você obtém são diferentes tipos de REST Endpoints preenchidos com dados JSON que você pode usar no desenvolvimento do frontend com seu favorito

Roda o projeto

npm start

4 - DIFERENTES SOLUÇÕES PARA JAVASCRIPT DO LADO DO SERVIDOR.

  • Exemplo Clear: app_04

Servidor

Concorrentes do Node.js

Deno

Deno: mesmo criador do Node.js Ryan Dahl: https://en.wikipedia.org/wiki/Ryan_Dahl

Bun

react-fetch-data's People

Contributors

daniel-oliv3 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.