Skip to content

This repository is an example of authentication using Context API in react native.

Notifications You must be signed in to change notification settings

mbozkaya/react-native-authentication-context-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Authentication with Context Api

This repository is an example of authentication using Context API in react native. The example covers 3 screens(Login, Signup, and Home). You can navigate between screens and log in to see the home page which requires authentication. You will need an account to log in and can create a new one through sign-up screen.

Installation

$ git clone https://github.com/mbozkaya/react-native-authentication-context-api.git
$ cd react-native-authentication-context-api/app/
$ npm install
$ expo install
$ expo start

Now you can reach out to the application through the Expo app you used on your phone.

Dependencies

Here are libraries I used extra

Library Purpose
react-native-paper To provide better UI with material design
react-native-async-storage/async-storage To keep data into local storage
react-navigation/native Navigation container
react-navigation/native-stack Navigation stack

Screens

Login Signup Home

Contributing

Pull requests are welcome.

License

MIT

About

This repository is an example of authentication using Context API in react native.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published