Firebase
Esta página todavía no se ha traducido — se muestra en su idioma original:English
Create a file src/firebase.ts to initialize your connection:
;
;
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_PROJECT.firebaseapp.com",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_PROJECT.appspot.com",
messagingSenderId: "...",
appId: "..."
};
;
;In src/App.tsx, we will fetch the list of pets from Firestore and display them.
;
;
;
;
;
;
petList;
};
;
},);
return
))}
</ul>
</div>
);
}
;Run the development server:
Estás leyendo una vista previa.
Inicia sesión para leer el artículo completo. Cualquier cuenta abre 4 artículos gratuitos al mes; el alumnado y el profesorado leen las páginas de su curso sin límite.
Iniciar sesión