-
Notifications
You must be signed in to change notification settings - Fork 0
Roadmap
Kenneth Bambridge edited this page May 22, 2017
·
25 revisions
For iOS Roadmap see https://github.com/k/pavlok-punctual-ios/wiki/Roadmap
- Get a node/express server running
- Send zaps to Pavlok using Pavlok API
-
- Test using their node module (local)
-
- Then set up as server
-
- Store OAuth2
access_keyandrefresh_keyin database (could just be a file)
- Store OAuth2
-
- Automatically refresh OAuth key
-
- Load OAuth key from database on server startup and store in calendar global
- Connect to Google Calendar API
-
- Authentication working
-
- Load recent events & extract locations
-
- Geocode the addresses returned from Google Calendar using Google Maps Geocoding API
-
- Store OAuth2
access_keyandrefresh_keyin database (could just be a file)
- Store OAuth2
-
- Automatically refresh OAuth key
-
- Load OAuth key from database on server startup and store in calendar global
- Set up APNS service: https://hub.docker.com/r/joonix/apn/
- Make backend logic
-
- Automatically grab calendar events and locations (and somehow keep synced)
-
- Set scheduled times for iPhone app checks to be made and shocks sent
- Put API keys into environment variables into filesystem
- Install logger
- Set up Docker Dev environment: http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
- Set up Docker to work with
node --inspectfor debugging: - Generate new secrets so ones in git history are unusable
- Set up node module
configfor prod/dev separation - Set up DB Docker container
- Set up Authentication Docker containter
- Set up server with
init.dOR Docker container -
- Here is how to setup on Debian: https://docs.docker.com/engine/installation/linux/debian/#install-using-the-repository
-
- On Part 6 of docker tutorial: https://docs.docker.com/get-started/part6/
-
- How to set up API keys properly on Docker container? Pull them from S3?
-
How often should Google Calendar events be checked for updates?
-
How far back should the calendar events be loaded for?
-
- Probably one day's worth, or could be less and just update every few hours or so
-
How to check to see phone is in the right location?
-
- Remote App Wakeup using push notifications to check location?
-
- Geofence?
-
-
- Set by App?
-
-
-
- Set by Server?
-
-
-
- The geofence can be set by silent push notifications from the server with data
-