Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 2.49 KB

README.md

File metadata and controls

46 lines (27 loc) · 2.49 KB

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