1.0.3 • Published 3 years ago

firebase-auth-app v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

  1. Install the package
npm i firebase-auth-app
  1. Create a project using Firebase-Auth-App CLI
firebase-auth-app
  1. Install dependencies
npm install

git

  1. Clone the repository
git clone git@github.com:itskaranchoudhary/firebase-auth-app.git
  1. Change the working directory
cd firebase-auth-app
  1. 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

🌟 You are all set!

Author

👤 Karan Choudhary

🤝 Contributing

Contributions, issues and feature requests are welcome! Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Many Thanks to all the Stargazers! Stargazers repo roster for @xKaran/firebase-auth-template

📝 License

Copyright © 2021 Karan Choudhary. This project is MIT licensed.

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago