Firestoreを利用する
事前準備
const firebaseConfig = {
apiKey: "******************************",
authDomain: "test.firebaseapp.com",
databaseURL: "https://test.firebaseio.com",
projectId: "test",
storageBucket: "test.appspot.com",
messagingSenderId: "**********",
appId: "1:**********:web:********************"
};
const firebase = initializeApp(firebaseConfig);
const db = getFirestore(firebase)ライブラリのインポート
新規作成
読み取り
更新
削除
最終更新