hasura / graphql-engine-docs Goto Github PK
View Code? Open in Web Editor NEWDocumentation for Hasura GraphQL engine
License: MIT License
Documentation for Hasura GraphQL engine
License: MIT License
CLI is now optional even for securing graphql endpoint.
Requires that hasura/graphql-engine#45 be released
List out the scenarios where GraphQL engine will crash or throw an error if queried.
run_sql
Auth role based schemas
Support for multiple postgres schemas
/v1alpha1/schema
does not exist in the latest versions.
I am writing a how-to on creating a mobile backend with Hasura + Auth0.
Following the instructions here to integrate Auth0 - https://github.com/hasura/sample-auth-webhook
In the final section "Usage with Hasura GraphQL engine", it is not clear what changes need to be made to the auth server. Specifically https://github.com/hasura/sample-auth-webhook/blob/master/server.js#L46
ref: hasura/graphql-engine#217
Via moe#8021 on discord.
On the getting started page we should point existing database users to a different page. Right now, there are only 2 links.
taking the todo-user example would be good
Document the usage of queries and mutations over websockets.
Apollo's subscription-transport-ws supports this.
Guides/tutorials on
Via dylanjones on discord / email.
There are many flavors of postgresql which graphql-engine
might support out of the box or with slight configuration/modifications. We need to document for each of them.
hasura doesn't work at all on alpine linux. The installer fails because it can't find sudo even though it shouldn't need it. Manually installing the binary is ok, however it doesn't work, just returns with no output.
Also why do you need an install script with telemetry to download a single binary? That doesn't inspire confidence. Just add links to each arch you build and I'll put the binary somewhere it is convenient for my use case.
Create a tutorials/guides/cookbooks section to show various examples built using graphql engine
Document about _inc
and other jsonb
operators in update mutation.
From hasura/graphql-engine#140:
@rikinsk Can you update the docs per: stackoverflow.com/questions/17770902/forward-host-port-to-docker-container/26090569#26090569
Especially for this page I think: docs.hasura.io/1.0/graphql/manual/deployment/docker/index.html
Document 2 use-cases:
Building a new todo app
Link to Rishi's tutorial
Building an internal dashboard on your existing postgres
Use existing postgres with safe credentials
Track tables
Run SQL endpoint
I found it initially confusing to have settings I can change in install-scripts/docker-compose.yaml
, install-scripts/docker-run.sh
and also a bit in config.yaml
. Clearly, docker-run.sh won't read config.yaml, but I had to piece it together a bit.
I see this coming from the fact that I can have any combination of
serve --enable-console
.I also had to piece together a little bit that the latter gives me a console on 8080 instead of 9695. Maybe that's just my settings, since I run riwh --net=host
?
Note that I don't have tons of experience with docker. The additional context of this is that I am replicating the instructions in the docs while being ssh'd into my remote server, not my local machine.
Things:
List types supported explicitly and types supported implicitly with examples for each.
We can basically take this table and add an extra column to show the graphql-engine equivalent:
https://www.postgresql.org/docs/current/static/datatype.html
Add spec and use cases
If you need to add custom business logic or customise your graphql schema then we recommend using schema stitching. These are 2 common use-cases:
Issue hasura/graphql-engine#23 is closed. Need docs.
There are quite a few common use-cases around capturing mutations from anonymous users but without making it too easy for malicious users to spam the backend.
Reasonable ways to determine a unique anonymous user:
(Via thangngoc and 7777 on discord)
Pick from: https://blog.hasura.io/working-with-schemaless-data-with-graphql-on-postgres-574a1ee2e87f
https://docs.hasura.io/1.0/graphql/manual/deployment/docker/index.html does not talk about console on server
This is a overall issue list.
List of use-cases that should be captured in docs:
Authentication and user handling guides:
Modelling different types of permissions:
Different types of data-modelling:
https://docs.hasura.io/1.0/graphql/manual/queries/sorting.html
Given as
order_by: ["+id"])
Instead of
order_by: [id_desc])
via Takeshi#1086 on Discord
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.