https://github.com/okstaticzero/vuejs-firebase
Vue.js Firebase boilerplate with authentication
https://github.com/okstaticzero/vuejs-firebase
Last synced: 24 days ago
JSON representation
Vue.js Firebase boilerplate with authentication
- Host: GitHub
- URL: https://github.com/okstaticzero/vuejs-firebase
- Owner: okstaticzero
- Created: 2016-08-12T18:33:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T23:30:30.000Z (over 8 years ago)
- Last Synced: 2024-07-27T14:15:25.630Z (over 1 year ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 86
- Watchers: 4
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue-refactor - vuejs-firebase
README
# Vue.js / Firebase boilerplate with authentication
> Demo: http://firebase.zerostatic.com/
This projects uses the Vue-cli build tool. Read about it here: https://github.com/vuejs/vue-cli
Also using FirebaseUI for Web — Auth: https://github.com/firebase/FirebaseUI-Web
In your Firebase console, in the auth section, add the desired login sign-in providers. more info: https://firebase.google.com/docs/auth/
For Facebook login to work, follow instructions here: https://firebase.google.com/docs/auth/web/facebook-login
To start, replace the Firebase settings in the following two files with your own Firebase settings:
auth.html and src/helpers/firebaseHelpers.js
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
```
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).