Skip to content

FrederickNgoiya/ReactNavigationAuthenticationFlowsWithHooks

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.3%
  • Java 17.2%
  • Ruby 14.8%
  • Objective-C 12.1%
  • Starlark 1.6%