Skip to content

timwis/soda-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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

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

Use Socrata's SODA2 API to query a postgres database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published