Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marioidival/goga
A fully RESTful API from any existing PostgreSQL database written in Rust
https://github.com/marioidival/goga
abandoned postgresql prest rest-api rust
Last synced: about 2 months ago
JSON representation
A fully RESTful API from any existing PostgreSQL database written in Rust
- Host: GitHub
- URL: https://github.com/marioidival/goga
- Owner: marioidival
- License: mit
- Created: 2017-07-22T12:27:54.000Z (over 7 years ago)
- Default Branch: trunk
- Last Pushed: 2023-05-03T12:29:12.000Z (over 1 year ago)
- Last Synced: 2024-08-01T22:58:17.164Z (5 months ago)
- Topics: abandoned, postgresql, prest, rest-api, rust
- Language: Rust
- Size: 44.9 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goga [![Build Status](https://travis-ci.org/marioidival/goga.svg?branch=master)](https://travis-ci.org/marioidival/goga)
A fully RESTful API from any existing PostgreSQL database written in Rust# Inspiration
This project is highly inspired on [pREST](https://github.com/nuveo/prest/). Then 4 years later, highly inspired from a conversation. Now it’s out of the grave
# TODO
- HTTP GET- [X] Get all DATABASES
- [X] Get all SCHEMAS
- [X] Get all TABLES
- [X] SELECT `/db/sch/tbl?_select=column`
- [X] select with all columns `*`
- [X] select with specific column `_select=column1,column2`
- [ ] WHERE `/db/sch/tbl?column=value`
- [X] filter with operators `column=$gt.100`
- [ ] filter with json/jsonb columns
- [X] COUNT `/db/sch/tbl?_count=column`
- [X] count with all columns `*`
- [X] count with specific column `_count=column1,column2`
- [X] ORDER BY `/db/sch/tbl?_order=column`
- [X] order by with asc `_order=column` __default__
- [X] order by with desc `_order=-column`
- [X] order by with multiple orders `_order=-column1,column2`
- [ ] GROUP BY `/db/sch/tbl?_select=column1,column2&_groupby=column1`
- [X] group by chunk code with columns
- [ ] group by with group functions support `SUM, AVG, MAX, MIN`
- [ ] group by with having clause `_groupby=column1->>having:sum:column_name:$gt:500`