1. Run npm run build
  2. Run firebase init hosting. Select existing project, enter ‘build’ as public folder', Yes configure as single page, No don’t overwrite
  3. Run firebase deploy
  4. Update index.html <name> field to change the public name of the app
  5. Update Firebase Database rules:
rules_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();
    }
  }
}