For people new to graph databases or GraphQL, Dgraph now has Dgraph Learn - a dedicated tutorial site. These FREE courses will help you build better, faster apps. Our current courses include:
You’ll also find learning resources including a Slash GraphQL Overview, and Dgraph and GraphQL Glossary. We even have a library of sample apps that you can deploy right now in your Slash GraphQL instance, letting you check out the source code and get a feel for how you would make a to-do app or Pokedex.
We are really excited to help people go from beginner to adept. If you think of any tutorials that would be helpful or things you wish you knew when you were getting started, please let us know! We’re planning to continually expand this resource and we’d love your feedback.
fatal: repository 'https://github.com/dgraph-io/discuss-tutorial-vue/' not found
I also think this is likely incorrect
There are two ways to set our endpoint url. Either set the process.env.https://discuss-dev.us-west-2.aws.cloud.dgraph.io/graphql environment variable, or change the default url in the new vue-apollo.js file. In this tutorial, we will create a .env.development file at the root of the project, with the following contents:
The React message board tutorial really helped clarify how to work with GraphQL on the front-end. But when trying to follow along, the categories query was totally skipped, so the corresponding hook wasn’t created, causing the categories menu in the new post to break.
query categories {
queryCategory {
id
name
}
}
I added that to my operations.graphql file and was good to go.
I also noticed that the code in the repo doesn’t match up to the tutorial walk-through. I guess building and running the tutorial from the complete source in the repo may be a more complete example?