npm run build
firebase init hosting
. Select existing project, enter ‘build’ as public folder', Yes configure as single page, No don’t overwritefirebase deploy
<name>
field to change the public name of the apprules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
function isAuthenticated() {
return request.auth != null && request.auth.uid != "" && request.auth.uid != null;
}
match /{document=**} {
allow read: if true;
allow write: if isAuthenticated();
}
}
}
Download Repo