feat(firebase): add firebase integration

This commit is contained in:
Rıdvan Akca
2024-02-29 14:28:50 +03:00
parent e4292815cd
commit 9b51e0f746
14 changed files with 388 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
const getCurrentUser = async ($) => {
const { data: currentUser } = await $.http.get(
'https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses',
{
additionalProperties: {
skipAddingAuthHeader: true,
},
}
);
return currentUser;
};
export default getCurrentUser;