Small app to demonstrate node, firebase and redis working together. Uses angular.js on the client to display data.
-
install Node.js
-
run
npm install -g grunt bower -
install Redis
-
in root folder of the app run
npm install, thenbower install
-
create server/config/local.env.js (use local.env.sample as a template) and add proper firebase uri.
-
run
grunt serveto run the main app - this will create few entries in your firebase store and display it in web app -
by default 'things' are alwayse fetched from firebase, but when you run
node server/syncFireBaseToRedis, this will synchronize data to local redis store and following calls will hit redis instead (check console output)