/importio-signedserver-heroku

import.io php Signed Query Server backend for Heroku

Primary LanguagePHPMIT LicenseMIT

importio-signedserver-heroku

import.io Signed Query Server for Heroku

Inspired by importio-signer-heroku by @weltonrodrigo. And, of course, @import-io.

Step-by-step

Get the code:

Via GitHub:

git clone https://github.com/infiniteschema/importio-signedserver-heroku.git
cd importio-signedserver-heroku

Add your custom query validator (optional):

In web/my.php edit function my_validate

Send app to Heroku:

heroku login
heroku create
git push heroku master

heroku config:set USER_GUID=YOUR_USER_GUID
heroku config:set API_KEY=YOUR_API_KEY

In your code:

importio.init({
             "auth": "http://YOUR-APP-NAME.herokuapp.com/",
             "host": "import.io"
});

References

Donate