tadeumx1 / react-native-api-jwt-tutorial

Repositório do artigo "Consumindo API REST com autenticação JWT no React Native"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-api-jwt-tutorial

GitHub Project Status: Active – The project has reached a stable, usable state and is being actively developed. PRs Welcome Application Version Last Commit Languages Used made-for-VSCode Open Source Love

This is a simple application that helps you consume a REST API that is using JWT Authentication and was done using React Native and the Axios package that is available in this repository.

React Native 0.61.5

Axios 0.19.0

Libs

  • React Native
  • React Navigation
  • Axios
  • PropTypes
  • Styled Components
  • React Navigation Stack

Installation

This application needs Node.js installed together with NPM so you will be able to install react-native-cli so you can execute the commands below

In addition, it will be necessary for you to have all the necessary environment for running native Android or IOS code or those two platforms

If you need help setting up your environment just follow the instructions of this tutorial

First use the git clone after this

$ cd react-native-api-jwt-tutorial

$ npm install i 

// Or you can use Yarn

$ yarn install

// Command to run the application

$ react-native run-android

// Or it can be on iOS devices

$ react-native run-ios

About

Repositório do artigo "Consumindo API REST com autenticação JWT no React Native"


Languages

Language:JavaScript 54.7%Language:Objective-C 16.4%Language:Ruby 11.0%Language:Java 10.3%Language:Python 7.5%