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
- React Native
- React Navigation
- Axios
- PropTypes
- Styled Components
- React Navigation Stack
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