#1 add authorization with firebase
Co-authored-by: Tim <timwundenberg@outlook.de> Reviewed-on: tim/me-fit#2
This commit is contained in:
16
view/src/lib/firebase.ts
Normal file
16
view/src/lib/firebase.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
import { getAuth } from 'firebase/auth';
|
||||
import { initializeApp } from 'firebase/app';
|
||||
|
||||
const app = initializeApp({
|
||||
apiKey: 'AIzaSyCrJBW3c3Wut8DqjyVJoFAEyJ9Had__q-Q',
|
||||
authDomain: 'me-fit-a9365.firebaseapp.com',
|
||||
projectId: 'me-fit-a9365',
|
||||
storageBucket: 'me-fit-a9365.appspot.com',
|
||||
messagingSenderId: '631045688520',
|
||||
appId: '1:631045688520:web:c7e0534927b52b0db629fd'
|
||||
});
|
||||
|
||||
const auth = getAuth(app);
|
||||
|
||||
export { auth };
|
||||
Reference in New Issue
Block a user