Comments (6)
That is a good idea. We are using our in house RPC project to generate clients https://github.com/pacedotdev/oto
If you are proficient with Dart maybe you can help us to create a template here https://github.com/pacedotdev/oto/tree/master/otohttp/templates
from firesearch-sdk.
I can give it a shot, but I don't really understand oto
. I notice there is a templates file in oto
, and there is a client
directory in firesearch-sdk
that has templates also. I don't understand the difference between them. Does a template file in firesearch-sdk
require a corresponding template in oto
?
from firesearch-sdk.
No, they are independent, you can do one or another, and we could reuse it, there are minimal differences like authentication. But to generate the client you need oto (the binary) installed, in local, have a look to the Makefile
The language of the template is https://github.com/gobuffalo/plush, but you can basically copy from other template and adapt it
from firesearch-sdk.
I can't seem to install oto. I get this error:
go install github.com/pacedotdev/oto
cannot find package "github.com/pacedotdev/oto" in any of:
/Users/robertoguerra/.asdf/installs/golang/1.15.3/go/src/github.com/pacedotdev/oto (from $GOROOT)
/Users/robertoguerra/.asdf/installs/golang/1.15.3/packages/src/github.com/pacedotdev/oto (from $GOPATH)
from firesearch-sdk.
I compiled oto
locally, but there were still some significant gaps when I tried to generate the templates (e.g. I do not know what (or where) the definitions are).
So I went ahead and used the existing generated sdks to create one for Dart: https://github.com/uris77/firesearch_sdk
I still need to add tests before I publish it. The entire motivation for me to use it is to replace Algolia on some of my mobile side projects, since Algolia is starting to get too expensive for me now, and Firesearch looks more affordable.
from firesearch-sdk.
Glad you solved the go install
error, we can review that on oto
.
No worries, we could use your client to build a template, so if we make changes on the API, we could keep it in sync. It gives a really good baseline to work on the template. Thank you!
You can write us to [email protected] and tell us what you are building or planing to use it, we can give you a license for the effort of the Dart client :)
from firesearch-sdk.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firesearch-sdk.