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

Calling Nebula graph from Browser JavaScript? #2897

Open
lonnietc opened this issue Sep 17, 2021 · 6 comments
Open

Calling Nebula graph from Browser JavaScript? #2897

lonnietc opened this issue Sep 17, 2021 · 6 comments
Labels
type/question Type: question about the product

Comments

@lonnietc
Copy link

Hi All,

I'm very new to Nebula Graph but like graph databases and what to use it in a javascript browser extension to call a backend Nebula Graph server node that I will have running.

I also know about the Nebula Graph Node.JS libraries but I do not think that they can be used in a browser within JavaScript from what I understand.

Is there any drivers in JavaScript to call Nebula Graph?

Any help would be greatly appreciated.
Thanks in advance

@wey-gu
Copy link
Contributor

wey-gu commented Sep 18, 2021

Dear @lonnietc, welcome to the nebula community!

Native HTTP/RESTful interface is not yet supported for now(will be supported in the future).

For now, you can use the http-gateway, and you can reuse/refer to the nebula-studio project as well ;).

BR//Wey

@lonnietc
Copy link
Author

Thanks for getting back to my inquire and I will give it a try.

By the way, your demos do not seem to be connecting and give a connection refused error message in all of them.

I will try them again tomorrow to see if they work at that time.
Thanks again,
Lonnie

@wey-gu
Copy link
Contributor

wey-gu commented Sep 18, 2021

Welcome @imdouyu!

We are sorry the backend may be overloaded, will check with the guys maintaining this! Thank you!

BR//Wey

@wey-gu
Copy link
Contributor

wey-gu commented Sep 18, 2021

Update: it's fixed now :)

@Sophie-Xie Sophie-Xie added the type/question Type: question about the product label Sep 18, 2021
@lonnietc
Copy link
Author

Thanks and I will look into it more.

I did visit the demo's but it wants me to add data and for a new person trying to see what Nebula can do, I might suggest that you have some pre-canned demos with pre-populated data so that the visitor can see it already populated and start exploring since that is not what I see at all.

From what I am seeing, when I select, for example the "Basketball Player and Teams" demo it is not at all very initiative.

Will play around more to see if I can get a feel for things.
Thanks again

@wey-gu
Copy link
Contributor

wey-gu commented Sep 22, 2021

Dear @lonnietc,
We will improve the demo/demo system! Thanks a lot for your care and great idea on improvements.
The data itself had been imported already and it should be only explored for users but the guidance is not initiative(to make the user think the data was not yet imported).
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

3 participants