Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.16 KB

readme.md

File metadata and controls

26 lines (20 loc) · 1.16 KB

React Native - User Authentication Flow with React Navigation 4

Aim of this repository is to make basic understand of how the user authentication works. You can find more details on my blog post.

Authentication Flow Gif

Requirements

Navigate the project directory and run npm install. After downloading the required packages run npm start.

Please don't forget to update the API codes to /src/screens/auth/SigninScreen.js

const response = await fetch(`https://c282a758.ngrok.io/api/#`, {
    method: 'POST', 
    headers: {
        'Accept': 'application/json',
        'Content-Type': 'application/x-www-form-urlencoded'
    }, 
    body: formData
})