Skip to content

A template repository for quickstarting expo-managed workflow apps with firestore and google authentication.

License

Notifications You must be signed in to change notification settings

matthewcn56/expo-firestore-googleauth-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quick Starter For Expo Apps!

This is a quick and easy template repository you can use to get up and running with expo managed workflows connected to firestore and firebase!

This template repository was based off of this guide of setting up email authentication with firebase, modified to support google authentication with the google sign-in sdk!

What Do I Need To Do To Get Started?

  • First, set up your app on the Firebase Console.
  • Set Up your app on the Googl Cloud Console.
  • Link Firebase to Your Web Application, Enable Google Sign In
  • Set Up Your Google OAuth Clients on The Google Cloud Console
  • Attach Your Google OAuth Clients To The Firebase App
  • Replace ApiKeys with your info as appropriate within ./config/apiKeys.js
  • cd quickstarter and npm install
  • expo start and start making your app!

What does this app contain?

  • Since this is just a guide app, it only contains a login screen, a home page, and two other pages connected via a stack navigator.
  • With Hooked React Components, the user's profile is stored within AuthContext.
  • When new users sign in for the first time, the firestore database gets updated and stores their display name, their gmail photo, and the resulting UID!

Why Create This?

Every complex app idea has to start somewhere, and this takes away a lot of the brunt work of having to set-up the barebones of an app yourself!

About

A template repository for quickstarting expo-managed workflow apps with firestore and google authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published