Skip to content

McSwitchy/mczappy-pavlok

Repository files navigation

zappy time

setup

server mode

  • to run the app on a remote server, another oauth key needs to be provisioned.
    • click "register your application"
    • click "New Application" button
    • give it a name
    • paste the following into the Redirect URI field & submit:
        http://<your-host-url.tld>/auth/pavlok/result
      
    • cp .env.example .env
    • paste Client ID & Secret from the pavlok-mvp into the .env file.

run

  • yarn dev to start dev mode (go to http://localhost:3000 after the server starts)
  • yarn now to deploy to now.sh

usage

  • I tested this with a v1 pavlok. It would drop the bluetooth connection w/ my iphone/ipad quite often and wouldn't reconnect. This poor behavior may be fixed in pavlok v2 (they use a better bluetooth module)

30 Jan 2018

  • update readme
  • post to GitHub

17 nov 2017

forked from https://github.com/Behavioral-Technology-Group/Pavlok-Node-Samples/tree/master/Pavlok_Node_Remote

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published