React Firebase Datta Able

Open-source Full Stack seed project built in React and Firebase on top of Datta Able Dashboard

Open-source full-stack seed project coded in React and Firebase on top of a modern design from CodedThemes. The React / Firebase codebase is already configured with social login (Google)

Product features

The product expects a configured Firebase backend that exposes the required configuration. By default, the guest users are redirected to the login page. Once the user is authenticated using an existing account or Google social login, all private pages are accessible.

Dependencies

To use the product, a decent version of Node JS (>= 12.x) is required, and GIT command-line tool to clone/download the project from the public repository.

Step #1 - Clone the project

$ git clone https://github.com/app-generator/react-firebase-datta-able.git
$ cd react-firebase-datta-able

Step #2 - Install dependencies via NPM or yarn

$ npm i
// OR
$ yarn 

Step #3 - Configure Firebase Credeintials - src/config/constant.js

const config = {
    ...
    firebase: {                                               
        apiKey: 'YOUR_API_KEY',                            # <-- YOUR DATA HERE
        authDomain: 'YOUR_DOMAIN_HERE',                    # <-- YOUR DATA HERE 
        projectId: 'YOUR_PROJECT_ID',                      # <-- YOUR DATA HERE
        storageBucket: 'YOUR_STORAGE_BUCKET',              # <-- YOUR DATA HERE
        messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',     # <-- YOUR DATA HERE
        appId: 'YOUR_APP_ID',                              # <-- YOUR DATA HERE
        measurementId: 'YOUR_TRACKER_ID'                   # <-- YOUR DATA HERE
    }
};

Step #4 - Start in development mode

$ npm run start 
// OR
$ yarn start 

All above settings are provided by the Firebase platform. For more information, feel free to access Firebase official help:

Last updated