| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Releases and tags coincide with specific blog posts in the series See Blog Series
Sample project motivated by video by David East on Reactfire
I am starting to integrated typescript into my examples since I am seeing questions about types popping up in the forums. The IModalData is the structure of the data that is written to firebase
type IModalData = {
podcastName: string;
podcastHost: string;
podcastURL: string;
};
export type IModalResponse = {
hasData: boolean;
data?: IModalData;
};you must create a file called src/env.js and add the following code
export const FIREBASE_CONFIG = {
// YOUR FIREBASE CONFIGURATION
};
// NAME OF COLLECTION IN FIREBASE TO LIST
export const FIREBASE_COLLECTION_NAME = "podcast-favs"
// THIS IS REQUIRED FOR ANDROID
// SEE - https://github.com/FirebaseExtended/reactfire/issues/228
global.globalThis = window;| Back | FazBrowse Home | New Git URL |