/react-admin-firebase-demo-typescript

Demo project for the react-admin-firebase npm package

Primary LanguageTypeScript

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

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