Skip to content

codetracker-learning/TEMPLATE-react-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Firebase Template

This template uses Firebase authentication with Google and Realtime Database.

Get Started

Click the GREEN "Use this template" button

$ git clone {YOUR-REPO}
$ npm install
$ npm start

On initial start, you will get errors. Add your Firebase CDN credentials.

  • Rename the .env.sample to .env
  • Place the values from your Firebase App into the values
  • Stop your server and start it again. You should be able to login to your application!

Things to note:

  • API directory are for calls to the database
  • The App/index.js file contains information and rough logic for adding users to your firebase realtime database. The firebase key and uid are important elements since the firebase key is how you grab a record from firebase and the uid is how you can find a user with database rules to index on attributes.
  • Create FB Project and RT DB
  • Set Up Auth
  • Create an App
  • Add Keys to .env file
  • Get Sample Data into FB
  • Add Teammates to the Project
  • Deploy SPA using Netlify
  • Setting up env vars in Netlify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published