Coder Social home page Coder Social logo

graphql-engine-docs's People

Contributors

0x777 avatar 2mol avatar amoghkarve avatar arvi3411301 avatar ashwani99 avatar cathreya avatar coco98 avatar dsandip avatar ecthiender avatar geekysrm avatar karthikvt26 avatar mikecasas avatar muqeeth avatar paranoidsp avatar praveenweb avatar rakeshkky avatar rikinsk avatar shahidhk avatar shark-h avatar sharmasoumyadip avatar shivamd20 avatar sidmutha avatar surendran82 avatar thangngoc89 avatar tirumaraiselvan avatar varshit07 avatar vksci123 avatar wawhal avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graphql-engine-docs's Issues

Integrating Hasura + Auth0

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

Improve existing database links

On the getting started page we should point existing database users to a different page. Right now, there are only 2 links.

Add direct links to binary downloads

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.

Add a use-cases section in docs

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

Clarify the various configs/deployment methods

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

  • an existing postgres instance, or a new one, dockerized, composed with hasura.
  • starting the console manually, or starting the console along with the 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.

[howto] Document examples of anonymous user mutations

by @rajoshighosh

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.

  1. Likes or visit counter
  2. other examples

Reasonable ways to determine a unique anonymous user:

  1. client generated session-id. Possible con: not terribly hard for a sophisticated user to fake
  2. IP based value. Possible con: users on a campus network might have UX issues with their likes getting rejected
  3. recaptcha based value. Possible con: ugh UX

(Via thangngoc and 7777 on discord)

Document these use cases

This is a overall issue list.

List of use-cases that should be captured in docs:

  • Handle anonymous (not logged in) user permissions
  • Schema stitching example
  • Relationships
  • Enums
  • Computed fields / derived data (should be SEO terms for views)

Authentication and user handling guides:

  • Auth0, Firebase, ForgeRock
  • Auth webhook examples for different use-cases
  • Where does user profile data go?

Modelling different types of permissions:

  • Collaborators
  • Multi-tenant

Different types of data-modelling:

  • one-one
  • one-many
  • many-many
  • ENUMS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.