Skip to content

Repository used in "Communication Between Systems" section of Full Cycle course

Notifications You must be signed in to change notification settings

v1eira/13-GraphQL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here are some mutations and queries to test in this project's GraphQL playground:

mutation createCategory {
  createCategory(input: {name: "category_name", description: "category_description"}) {
    id
    name
    description
  }
}

mutation createCourse {
  createCourse(input: {name: "course_name", description: "course_description", categoryId: "category_id"}) {
    id
    name
    description
  }
}

query queryCategories {
  categories {
    id
    name
    description
  }
}

query queryCategoriesWithCourses {
  categories {
    id
    name
    description
    courses {
      id
      name
      description
    }
  }
}

query queryCourses {
  courses {
    id
    name
    description
  }
}

query queryCoursesWithCategory {
  courses {
    id
    name
    description
    category {
      id
      name
      description
    }
  }
}

About

Repository used in "Communication Between Systems" section of Full Cycle course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%