Skip to content

coco98/fullstack-graphql-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fullstack GraphQL workshop with Hasura

Deploy to Heroku

Environment variables:

HASURA_GRAPHQL_ADMIN_SECRET: secret

HASURA_GRAPHQL_JWT_SECRET: {"type": "HS256", "key": "myjwtsecretkey111111111111111111111111111111111"}

JWT Token

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6IjEifX0.GuJT4DlW4NCN0T8ffzvqFmDjLUUk1JBhHkamCfI81Tc

Actions

Definition

type Mutation {
  add_todo (
    title: String!
    is_public: Boolean!
    user_id: Int!
  ): AddTodoOutput
}

type AddTodoOutput {
  id : Int!
}

Hander: https://pointy-large-acapella.glitch.me/add_todo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published