https://github.com/peter-mount/postgresql-rest
A frontend to PostgreSQL to expose data via a Rest API
https://github.com/peter-mount/postgresql-rest
Last synced: 5 months ago
JSON representation
A frontend to PostgreSQL to expose data via a Rest API
- Host: GitHub
- URL: https://github.com/peter-mount/postgresql-rest
- Owner: peter-mount
- License: apache-2.0
- Created: 2019-07-19T18:06:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T11:02:56.000Z (over 2 years ago)
- Last Synced: 2024-12-06T21:38:36.901Z (over 1 year ago)
- Language: Go
- Size: 518 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
1. Invoking functions with no parameters on a Cron schedule
1. 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.