-
Notifications
You must be signed in to change notification settings - Fork 120
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
Web tester and protocol buffers api #33
Comments
Thank you for your advice! |
Hey @sapics no problem. May English is pretty bad and I am English :) At the moment everything is just CSV files, which are highly useful, but not easily usable yet. I would like to extend this to provide a usable API using standard golang HTTP API. No complex dependencies. There are many ways to do this, and I am just starting up the conversation around it. |
Looks great! As you noticed, HTTP API is much easier to use. |
How about this ??
this is just a CLI to get a feel for the query. works well. THIS is the golang driver: https://github.com/mithrandie/csvq-driver It's slow but good enough for now.
Just type with JSON Serialisation.
maybe 10 lines of code that displays the forms variables, posts the form back, parses the values into the API layer, and then pushes a WebCompnent back from the Server with the results. https://github.com/ryoid/go-streaming-html-ooo Later add a SQLITE DB to replace the CSV. Can easily make a loader to load the CSV into the SQLIte. |
I know little about golang, thus, it is difficult to discuss whether that is a good approach or not. We also think it would be useful to create it in SQLite, so we would like to create a link to that as well, when you publish it. |
Ok thanks for the reply and letting me know about your opinions about how useful this would be for other devs. I could publish it on my repo and set it up so that it pulls the csv files from your repo. does that sound like a good plan ? |
Thanks! Looks great! |
Ok let me get to it. A bit snowed under right now. |
Would you like a web tester ( just a simple index.html and a protocol buffers ali server ?
it will make it easy for devs to see how this works.
we can then also do real world testing by rolling out golang clients to 26 locations with fly.io and then from a simple CLI call all of them and hence check they all get the correct answers using the global fly.io network.
The text was updated successfully, but these errors were encountered: