An example project for the react-admin-firebase package.
Try the demo here!
username: [email protected]
password: [email protected]
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
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.jssrc-demo/webpack-override.js