Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.88 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.88 KB

ys.icebreaker

I want to learn more about angular-material directives as well as Firebase cloud services. Here I developed an icebreaker app that implements angular, materialize, firebase, and angularFire. The Firebase cloud used in this app is hosted on my personal account. Firebase is a REAL TIME 'NOSQL' database that stores your data as JSON. Cool! Want to use your own firebase storage? Look for the file 'firebaseConfig.js' and change the BASE_URL to your own.

What's different?

  • You are now allowed to add, and view icebreaker questions (Through the list view) thanks to Firebase!
  • No repeating question unless reset

Others

  • Randomizer queries from the questions saved to the browser's localstorage, meaning different browsers can have different remaining questions. However, adding/removing a question syncs to all clients, automatically adding/removing that question to every client's localstorage.

Tech stack:

  • angular
  • Materialize
  • angular-material
  • angular-ui-router
  • a0-angular-storage
  • Firebase
  • angularFire

Try it on your own machine. Browse to the project's root directory and:

  • bower install (To install js and css components)
  • npm install (To install gulp components) * optional as this is used to build js files
  • gulp min-js (To minify source js files) * optional as the min code is uploaded here

You can also use 'gulp concat-js' to 'concat' all js files rather than minifying it. The 'concat' version is useful for debugging/development. Using the concat version requires you to change the source file in index.html to 'main.js'. By default the app uses the min source file named 'main.min.js'.

P.S. You will be needing an http server to run the app. Try downloading 'http-server' using npm.

Using http-server: