🚀
firebase-auth-app
Boilerplate Project for Google Authentication with Firebase
🏠 Homepage
🛠️ Installation Steps
You’ll need to have Node 10.16.0 or later version on your local development machine. We recommend using the latest LTS version.
To create a new app, you may choose one of the following methods:
npm
- Install the package
npm i firebase-auth-app
- Create a project using Firebase-Auth-App CLI
firebase-auth-app
- Install dependencies
npm install
git
- Clone the repository
git clone git@github.com:itskaranchoudhary/firebase-auth-app.git
- Change the working directory
cd firebase-auth-app
- Install dependencies
npm install
It will create a directory called firebase-auth-app
inside the current folder.
Inside that directory, it will generate the initial project structure and install the required dependencies:
Firebase Configuration
Copy and paste your configuration from your Firebase project's dashboard into index.html
It should look something like this
var firebaseConfig = {
apiKey: "API_KEY",
authDomain: "PROJECT_ID.firebaseapp.com",
databaseURL: "https://PROJECT_ID.firebaseio.com",
projectId: "PROJECT_ID",
storageBucket: "PROJECT_ID.appspot.com",
messagingSenderId: "SENDER_ID",
appId: "APP_ID",
measurementId: "G-MEASUREMENT_ID",
};
Activate Sign-In Methods
Enable the Google Sign-Up Method under the Authentication/Sign-In Method/Sign-In Providers
Authorized Domain
Add the domain where the app is to be hosted under the Authentication/Sign-In Method/Authorized Domains
Author
- Github: @itskaranchoudhary
🤝 Contributing
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Show your support
Give a
Many Thanks to all the Stargazers
!
📝 License
Copyright © 2021 Karan Choudhary.
This project is MIT licensed.