Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.44 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.44 KB

Tasks

simple todo web app with an iOS client

  • automatic synchronization between web and the device(s)
  • clients fully functional offline
  • notifications (Chrome or iOS)

Setup

The web server is implemented as a node application that uses the mongo data store. To build the scripts and stylesheets, grunt is required (build the default task for production or debug for debugging).

Following environment variables are used for configuration:

OPENID_REALM (required)
  The realm for OpenID authentication (the URL of the application as deployed).

MONGOHQ_URL
  URL of the mongo instance to be used. The default is to use the db tasks on localhost.

APN_URL
  URL of the Apple Push Notification Service to be used. The default is to use the sandbox version.

PORT
  HTTP port to listen on. The default is 8081.

APP_REGISTRATION_CODE
  The code that will be required from new users when registering. If omitted users can register without a code.

CERT.PEM and KEY.PEM
  Base64 encoded contents of the cert.pem and key.pem files used for Apple Push Notifications, see node-apn for more info on how to get these. If omitted the todos created on the web will not be broadcast to the devices without opening the app.