Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.11 KB

File metadata and controls

30 lines (21 loc) · 1.11 KB

Mobile Auth flow

The app is an example and a template of the auth flow built with react native and jwt-auth or firebase-auth. Feel free to fork the repo and use that code in your needs


0.1. What's shipped with this repo?

  • React Native application
  • Configured eslint and prettier packages
  • Zustand
  • React navigation with stuck
  • Firebase configuration

0.2. Eslint

  • To follow project code style you should use Eslint that is already configured
  • To enable linting, you need to use an extension for your code editor
  • Extension for VSCode. If you want to integrate Eslint with other code editors you can find information on how to do it here

1. Project init

  • Run npm install after git clone. This command will install all necessary dependencies
  • Setup a firebase project with firebase auth.
  • Create an .env file. Example of the configuration can be found in the .env.example file
  • Then, run npm run start to start the app locally using the expo go