raineorshine / simplifiedavailability

Generates a simple text list of your availability from your Google Calendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simplifiedavailability

Generates a simple text list of your availability from your Google Calendar

Development

Running the server

$ nodemon -w app app.js

README.md gets compiled in the gulp readme task, so you can view it locally. Just open README.html in your browser.

Testing webhooks on localhost

Ultrahooks doesn't work with https :(

$ ultrahook 4372/testhook
Authenticated as raine
Forwarding activated...
http://test.raine.ultrahook.com -> http://localhost:4372/testhook

$ curl -X POST http://test.raine.ultrahook.com
[2014-08-07 07:46:34] POST http://localhost:4372/testhook - 200

Known Issues

bower install doesn't work in postinstall script

http://stackoverflow.com/questions/20826580/node-js-heroku-deployment-fails-to-exec-postinstall-script-to-install-bower

Current hack is to install public/bower_components locally and don't gitignore them so they get pushed up to the repo.

Resources

Google API Push Notifications:

  • requires HTTPS hook

Angular + Socket.io https://github.com/btford/angular-socket-io

Using the google-calendar module: https://github.com/wanasit/google-calendar/blob/master/example/list-example.js

Webhooks

Testing

Services

© Raine Revere

About

Generates a simple text list of your availability from your Google Calendar


Languages

Language:Sass 30.0%Language:CSS 29.4%Language:CoffeeScript 16.4%Language:JavaScript 10.9%Language:Pug 7.1%Language:HTML 6.2%