Example Vuejs + Firebase web app.
Make sure to configure:
- Auth with email and password
- Auth with google (optional)
- Firestore with "messages", "users", and "conversations" collections
Create a .env.local with the following config variables from the firebase console:
VUE_APP_FIREBASE_KEY = XXXXX
VUE_APP_FIREBASE_AUTH_DOMAIN = XXXXX
VUE_APP_FIREBASE_DATABASE_URL = XXXXX
VUE_APP_FIREBASE_PROJECT_ID = XXXXX
VUE_APP_FIREBASE_STORAGE_BUCKET = XXXXX
VUE_APP_FIREBASE_KEY_MESSAGING = XXXXX
VUE_APP_FIREBASE_APP_ID = XXXXX
npm install
npm run serve
npm run build
npm run test
npm run lint