Skip to content
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

feature request: expose JSON api for datastore #649

Closed
bytesun opened this issue Jun 30, 2024 · 5 comments
Closed

feature request: expose JSON api for datastore #649

bytesun opened this issue Jun 30, 2024 · 5 comments

Comments

@bytesun
Copy link
Contributor

bytesun commented Jun 30, 2024

To be easier to fetch public data without initialize satellite, especially handle multiple satellites at same time.

https://[satelliteid]/API/[collection] => {json}

@peterpeterparker
Copy link
Contributor

That would be nice for public data. I wonder if that should be the default. Maybe as a first step, I can develop an example because that's possible using the Serverless Functions. I was also searching for ideas to start a weekly "Livestream code session on Juno." Maybe I can code during one of those sessions? Just thinking out loud.

@bytesun
Copy link
Contributor Author

bytesun commented Jul 1, 2024

It will be great, looking forward to watch "Livestream code session on Juno."

@peterpeterparker
Copy link
Contributor

Cool let's do that!

@peterpeterparker
Copy link
Contributor

We have developed an example of how to solve this with Serverless Functions in Juno Live 1 and 2.
The results are available in https://github.com/junobuild/examples/tree/main/rust/json

@peterpeterparker
Copy link
Contributor

I gonna close this task as we have implemented an example and showcased it in Juno Live.

If you think it should be part of the core, please ping me and we reopen the feature request.

Thanks for the idea! I literally gonna reuse part of the example in another sample app right now ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants