Skip to content

jpalm7698/yale

Repository files navigation

Yet Another Login Example

Yet Another Login Example using Vuejs and Firebase.

Project setup

Frontend

npm install

Firebase

  1. Ensure firebase and firebase-tools are installed:

    npm install firebase firebase-tools
    
  2. Create a Firebase account and create a new project in the Firebase Console.

  3. Create a new web app in your project and import the your provided firebaseConfig object into your local repository:

    Create a new file named firebase-config.js at the project root with the following code below:

    const firebaseConfig = {
        // make sure to add your firebaseConfig members here!
    
        // apiKey:
        // authDomain:
        // etc...
    };
    
    export function getFirebaseConfig() {
        return firebaseConfig;
    };
  4. Initialize Firebase and Auth Emulator

    firebase init
    

    Select your existing project, auth emulator, and configure emulator setup using the prompts provided.

Frontend Compiles and hot-reloads for development

npm run serve

Start Firebase Auth Emulator

firebase emulators:start

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published