Skip to content

This is a react application using firebse as the backend

Notifications You must be signed in to change notification settings

GeoffMahugu/react-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Firebase

This is a React-Typescript application implementing firebase Authentification.

The full write up on how to setup the project can be found in this Blog Post: Firebase Auth with React Typescript

firebase-react-ts (1)

Project Structure

  • node_modules: Contains installed dependancies
  • public: Contains assets used in the application (images, manifest.json)
  • src: Contains application files
    • config: Contains application global configurations
    • interfaces: Contains application global type definitions
    • modules: Contains application modules
    • pages: Contains application pages
    • App.css: Root style sheet file
    • App.tsx: Application entry file
    • index.css: Global style sheet file
    • index.tsx: Root entry file
  • .env: Contains firebase configurations
  • package.json: Contains npm scrips

Run application

This command will serve the application

npm start

Screenshot from 2021-05-20 17-16-45

Build application

The output will be in ./build folder

npm run build

Update Firebase Credentials

In the root of the application, create ./env file and paste the credentials as shown below:


## Firebase Credentials
REACT_APP_FIREBASE_KEY=""
REACT_APP_FIREBASE_DOMAIN=""
REACT_APP_FIREBASE_DATABASE=""
REACT_APP_FIREBASE_PROJECT_ID=""
REACT_APP_FIREBASE_STORAGE_BUCKET="" 
REACT_APP_FIREBASE_SENDER_ID=""
REACT_APP_FIREBASE_APP_ID=""
REACT_APP_FIREBASE_MEASUREMENT_ID=""

Conclusions

Any Pull requests are much welcomed to improve the project and help onboard new react developers.😀

Much love ❤️

About

This is a react application using firebse as the backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published