FrederickNgoiya / ReactNavigationAuthenticationFlowsWithHooks

A React Native auth example using React Navigation 5 with hooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactNavigationAuthenticationFlowsWithHooks

Light theme:

Dark theme:

This repo is the source code for a youtube series about how to create a react native authentication system using React Navigation 5 and hooks.

It contains registration, login, persisting user to secure local storage and theming.

For the backend, the app is using Strapi.io, a headless CMS, the same as the one we used in this project: ReactNativeApolloOnlineStore

How to run the project:

Backend:

Go inside the server folder and run:

yarn develop

Mobile:

Got inside the client folder. Start the metro bundler:

yarn start

For android:

yarn android

For iOS:

yarn ios

PS: make sure that you have installed all the required dependencies including running pod installs.

Videos

Login + Registration layout / Authentication Flows

Login + Registration logic with context and memo 1

Login + Registration with context, memo & Strapi 2

Authentication flow + Logout

Persist user using react native secure local storage

Add products screen and fetch authenticated data

About

A React Native auth example using React Navigation 5 with hooks

License:MIT License


Languages

Language:JavaScript 54.2%Language:Java 17.2%Language:Ruby 14.8%Language:Objective-C 12.1%Language:Starlark 1.6%