A starter for your Polymer app using Firebase and Redux
Convoo's starter is a starting point for Polymer apps built on top of the Polymer Starter Kit. Convoo's starter targets applications that are built using Firebase and Redux.
It comes with:
- Firebase authentication already set up for email as well as social providers
- Redux with polymer-redux set up with three main objects:
- firebase - object that persists to firebase and syncs with it
- local - object that persists to local storage and can be used to sync cookie data
- temp - object that stores temporary values that can be used in that session only - eg: routes
- Internationalization set up with a locales.json file for you to edit
- Example views:
- iron-list view displaying a stream of information from firebase
- Example form saving to firebase
- Example file upload into Firebase Storage
Using the Polymer CLI:
npm install -g polymer-cli
npm install -g generator-polymer-init-convoo-starter
polymer init convoo-starter
npm install -g firebase-tools
firebase init
When Firebase asks you for your public directory enter build/unbundled
. Since Firebase uses HTTP 2 this should be fine.
You can also use build/bundled
if you prefer.
While developing, you can quickly view wha tyou're working on using:
polymer serve
When you're ready to deploy, first build your work and double check it locally:
polymer build
firebase serve
If everything works as expected then go ahead and deploy using:
firebase deploy