firebaseのAuthentication+Firestoreのusersコレクションでユーザーを管理するアプリのテンプレートです。
実践で使うための土台やリファレンスとして使って頂ければ。
- メール&パスワードでのログインの有効化
- Databaseを作成しておく(コレクションは空の状態でよい。ユーザー登録時にusersコレクションを作成します。)
// store/common/DatabaseConnector.tsのconnect関数内
firebase.initializeApp({
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: ""
});
yarn install
yarn run serve
yarn run build