Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.2 KB

File metadata and controls

39 lines (29 loc) · 1.2 KB

Vue User Management with Firebase

About The Project

Firebase Auth doesn't provide customised user roles, so this boilerplate project uses Firebase Firestore to create and manage users on top of the Firebase Auth.

When a user is logged in, selected details are matched against a record in Firebase Firestore and stored in Vuex state, which can be accessessed from anywhere in the app.

Built With

Getting Started

You'll need a free Firebase account.

Installation

  1. Clone the repo
    git clone https://github.com/michaelzero00/VueFirebaseUserManagement.git
  2. Install NPM packages
    npm install
  3. Start a new Firebase project and enable Firebase Auth (at least the email and password option) and Firebase Firestore.
  4. Copy your project settings from the Project Overview => Firebase SDK snippet => Config screen
  5. Rename src/firebase/firebaseInit_template.js to src/firebase/firebaseInit.js and enter your details from step 4.
  6. Run
    npm run serve