Deploy Carto's excellent SQL API to Heroku. Point it to any remote database.
This is not functional yet! Please contribute.
Main issues:
Provides a node.js based API for running SQL queries against CartoDB.
CDB_QueryTables
)npm install
Create and edit config/environments/./configure --help
for a list of supported switches.
Make sure redis is running and knows about active cartodb user.
Make sure your PostgreSQL server is running, is accessible on
the host and port specified in the db_pubuser
configuration
directive to) and trusts user authentication from localhost
connections.
node app.js <environment>
Supported
See doc/API.md for API documentation. For examples of use, see under test/.
Run with:
npm test
If any issue arise see test/README.md
Note that the environment should be set to ensure the default PostgreSQL user is superuser (PGUSER=postgres make check).
See CONTRIBUTING.md.