-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http server and server connnector to expose restful api #6
Comments
Is this up for grabs? I am open to implement it. |
Surely @amandesai01 feel free to open a draft if you like! (i can continue on top of your work then in same PR) |
Can I get some initial spec (need not be detailed) Basically what will be input vs output? |
For now, this is what I believe is expected: What else? |
So here is spec according to me: (I maybe wrong at what at all is expected):
Is that what is expected? or something else? |
I think this would be quite similar to https://starbasedb.hashnode.space/default-guide/rest-api/introduction Checkout their implementation on https://github.com/Brayden/starbasedb/blob/main/src/literest/index.ts |
Yep, but more i'm thinking to expose remote RPC as raw/unprepared queries rather than CRUD verbs. Any higher over layer usage can then extend server to build something similar but their own parsing and conventions. |
Can you show some sample implementation / links? @pi0 Edit: cc: @atinux |
It is a new idea/API here so I don't have an example to share.. But I will try to draft something as soon as had little time to move it forward :) |
I theory we could also have multiple implementation right? I'm still not fully sure if I understand what I'm reading around, but something like a |
Similar to unstorage server this would allow exposing sql backends as a restful API to edge runtime 🐦
The text was updated successfully, but these errors were encountered: