https://github.com/deckchairlabs/typescript-firebase-auth
https://github.com/deckchairlabs/typescript-firebase-auth
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deckchairlabs/typescript-firebase-auth
- Owner: deckchairlabs
- Created: 2020-02-25T01:51:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:34:52.000Z (over 2 years ago)
- Last Synced: 2025-02-13T07:47:13.906Z (3 months ago)
- Language: TypeScript
- Size: 1.42 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typescript-firebase-auth-example
[](https://app.netlify.com/sites/typescript-fcm-example/deploys)
Typescript example for Firebase Auth using service workers.
The following assumes an existing knowledge of NodeJS and Firebase development.
## Environment Setup
1. You will need to create a `.env` or `.env.local` (this is preferred, as to keep any sensitive credentials out of your repository) file with the following variables.
```sh
# .env.local
# Follow the instructions here to obtain your Firebase config https://firebase.google.com/docs/web/setup
FIREBASE_API_KEY=your value here
FIREBASE_PROJECT_ID=your value here
FIREBASE_MESSAGING_SENDER_ID=your value here
FIREBASE_APP_ID=your value here
FIREBASE_MEASUREMENT_ID=your value here
```2. Allow Chrome to use insecure certificates for localhost `chrome://flags/#allow-insecure-localhost`