easy totalizer using vuejs and firebase.
Switch branches/tags
Nothing to show
Clone or download
Jungmo Kang
Jungmo Kang Update README.md
Latest commit 082f16f Jul 27, 2017
Permalink
Failed to load latest commit information.
build initial commit Jul 25, 2017
config some bug fix Jul 26, 2017
functionsES6 initial commit Jul 25, 2017
src url bugfix Jul 26, 2017
static initial commit Jul 25, 2017
.babelrc initial commit Jul 25, 2017
.editorconfig initial commit Jul 25, 2017
.eslintignore initial commit Jul 25, 2017
.eslintrc.js initial commit Jul 25, 2017
.firebaserc initial commit Jul 25, 2017
.gitignore initial commit Jul 25, 2017
.postcssrc.js initial commit Jul 25, 2017
README.md Update README.md Jul 27, 2017
database.rules.json initial commit Jul 25, 2017
firebase.json initial commit Jul 25, 2017
package.json some bug fix Jul 26, 2017
yarn.lock initial commit Jul 25, 2017

README.md

totalizer

A totalizer project

Requirement

  • Node JS +6.10
  • yarn
  • firebase-tools

Build Setup

# install dependencies
yarn install

# serve with hot reload at localhost:8080
yarn dev

# build for production with minification
yarn build

# build for production and view the bundle analyzer report
yarn build --report

Deploy

# login Firebase with your account
firebase login

# set config (copy own api key from https://console.firebase.google.com/project/{your project}/overview )
copy ./config/dev.sample.env.js ./config/dev.env.js
vi ./config/dev.env.js

# build production module
yarn build

# deploy to firebase
firebase deploy

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Bug

  • Firebase Functions have bugs. It is just only for introducing realtime DB trigger function.