Re:pREST – A fully RESTful API from any existing PostgreSQL ...
by wing328hk on Monday June 26, 2017 @09:34AM
(#14636646)
Given the Swagger/OpenAPI spec for the DB, one can use Swagger Codegen [1] (free, open-source) to generate API clients, server stubs and API documentations.
Currently the project supports more than 40+ API client generators (C#, Swift, C++, TS, JS, etc) and 20+ server stub generators (C# Nancy, Python Flask, etc). For a full list, please refer to the project README.
[1] https://github.com/swagger-api/swagger-codegen
Discloure: I'm a top contributor to the project.
Re:pREST – A fully RESTful API from any existing PostgreSQL ...
by postila on Saturday June 24, 2017 @03:16AM
(#14624718)
Ditto. ~1.5 years in one project, ~1y in another. Recent update is excellent -- now you can see HTTP headers & cookies inside Postgres functions, so it's possible to save user IP address, user agent, etc. So easy, quick, scalable and with great performance control.
Re:pREST – A fully RESTful API from any existing PostgreSQL ...
by ruslan_talpa on Friday June 23, 2017 @03:55PM
(#14622248)
Where are you using it, can you share a link?
Re:pREST – A fully RESTful API from any existing PostgreSQL ...
by thelambentonion on Friday June 23, 2017 @11:16PM
(#14624214)
Not GP, but a listing of groups using PostgREST in production can be found here: https://postgrest.com/en/v4.1/intro.html#in-production
I know nothing about Haskell and that has not been an problem. I am always happy to see more open source software, though.