Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

An example project for the react-admin-firebase package.

Demo

Try the demo here!

Get started

You need to add the private Firebase connection file: src/FIREBASE_CONFIG.js with the following format from firebase:

export const firebaseConfig = {
  apiKey: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
  authDomain: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
  databaseURL: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
  projectId: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
  storageBucket: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
  messagingSenderId: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
};

Don't forget to add the export infront of the configuration that Firebase gives you!

Then just run npm run start

Additional Dev Notes

The following 2 files are to patch the react-scripts package. These are copied after install (postinstall), and allow better sourcemapping to the src files in the parent folder.

  • src-demo/webpack-devserver-override.js
  • src-demo/webpack-override.js