This is a simple callback server for Scale API, written in Node.js and backed by MongoDB.
You can deploy a callback server to Heroku in seconds and save all your tasks and responses to MongoDB.
- If you haven't already, sign up for a free Scale API account. Note your Scale
Callback Auth Key
, which you will use during deployment.
Once your server is deployed, you can start using it as your callback_url
for your Scale tasks.
You should specify the callback_url
as https://[YOUR_APP_NAME].herokuapp.com/
, where [YOUR_APP_NAME]
is replaced with your Heroku app name.
Your tasks will be saved to the tasks
collection of the provided MongoDB database. The schema will be identical to the schema specified in our docs. By default, it will provision a new mLab instance, which you can access through your Heroku dashboard.
Chat with us on Scale's Slack channel :)