Skip to content

timothyclemansinsea/soql-for-cartodb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soda-postgres

Uses node-soda2-parser to provide a Socrata-style SODA2 API in front of a postgres database

Installation

  1. Clone the repo
  2. Install dependencies via npm install
  3. Create a copy of .env.sample named .env and fill in the values, pointing it to a postgres database with postgis enabled
git clone https://github.com/timothyclemansinsea/soql-for-cartodb.git
cd soql-for-cartodb/
npm install

Usage

To run a SODA2 API server, use node index.js Then query the API using SODA2 calls, ie. http://localhost:8080/resource/table_name?$select=*&zip_code=19141

Examples

A demo server with the Heart Healthy Screening Sites dataset provides the following examples.

About

This is a SoQL emulator for CartoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%