Skip to content

rwillmer/firebase-javascript-poll-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firebase-javascript-poll-demo

I developed this project to demonstrate the real-time awesomeness of Firebase.

https://www.firebase.com

You can see it in action at https://javascript-poll-demo.firebaseapp.com

Please feel free to download and play. You'll need a (free) account at Firebase to run your own version of this demo.

Preqrequisites

  1. Install Node.js
  1. Install these NPM packages globally

    npm install -g bower gulp nodemon`

    Refer to these instructions on how to not require sudo

  2. Clone this project

    git clone https://github.com/rwillmer/firebase-javascript-poll-demo
  3. Install

    cd firebase-javascript-poll-demo
    npm install
  4. Create an account and an app at Firebase

  5. Setup your Firebase instance

    Edit src/client/app/angularfire/angularfire.config.js to set your Firebase instance details.

    Edit src/client/app/core/config.js to change the title. app/dashboard/dashboard.controller.js app/poll/poll.route.js

  6. Run Locally

    gulp serve-dev
  7. Run at Firebase

     npm install -g firebase-tools
     gulp build
     firebase init
     firebase deploy

Thanks

The gulp file and src layout was based on a previous project generated using John Papa's HotTowel project @john_papa.

https://github.com/johnpapa/generator-hottowel

If you're looking for an Opinionated Style Guide to figure out how to construct an AngularJS project, I recommend John Papa's "Opinionated Style Guide"

https://github.com/johnpapa/angular-styleguide

About

A demo of how Firebase can be used to create real-time polls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published