Re:gRPC vs. REST: Understand gRPC, OpenAPI and REST and When...
by cpursley on Thursday January 23, 2025 @08:56AM
(#42804036)
I'm piggybacking on the OpenAPI spec as well to generate a SQL-like query syntax along with generated types which makes working with any 3rd party API feel the same.
This way, you don't have to know about all the available gRPC functions or the 3rd party API's RESTful quirks while retaining built-in documenting and having access to types.
What if you could query any ole' API like this?:
This way, you don't have to know about all the available gRPC functions or the 3rd party API's RESTful quirks while retaining built-in documenting and having access to types.https://github.com/cpursley/apipe
I'm considering building a TS adapter layer so that you can just drop this into your JS/TS project like you would with Supabase:
Where this would run through the Elixir proxy which would do the heavy lifting like async, handle rate limits, etc.