peter-mount / postgresql-rest

A frontend to PostgreSQL to expose data via a Rest API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postgresql-rest

postgresql-rest is a standalone application that allows PostgreSQL functions in one or more databases to be exposed as a REST API.

History

It started off being part of the nre-feeds project when it was noticed it should be more generic for exposing other opendata than just the NRE data feeds. I then started to include it within the uktransport project but it's turned out to be deserving it's own project.

Overview

The utility currently has 3 modes of operation:

  1. Exposing functions over a rest api
  2. Invoking functions with no parameters on a Cron schedule
  3. Invoking functions when a message is received from a RabbitMQ queue

You can run the utility with any or all of these modes at the same time - although if you are receiving from RabbitMQ as well as hosting REST I suggest you run them in two separate instances.

Full documentation will appear within the project's wiki.

About

A frontend to PostgreSQL to expose data via a Rest API

License:Apache License 2.0


Languages

Language:Go 90.1%Language:HTML 9.9%