Skip to content
GraphQL and Serverless workshop
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
graphiql
graphql-api removing port, just adding instructions on how to change port, if needed Mar 28, 2019
services
LICENSE Initial commit Nov 7, 2018
README.md
azure-pipelines.yml

README.md

serverless-graphql-workshop

In this workshop we'll build a Serverless GraphQL endpoint for an existing voting API.

Prerequisites

  1. A recent version of Node (8+)

  2. VS Code

  3. Azure Functions CLI

  4. Azure Functions Extension for VS Code

  5. Free Azure Account

Steps

  1. Create your own services following steps on services readme

  2. Create GraphQL endpoint following steps on api readme

  3. Add GraphiQL UI using steps in readme

Demo app

GraphQL endpoint: https://graphqlplayground.azurewebsites.net/api/graphql

GraphiQL endpoint: https://graphqlplayground.azurewebsites.net/api/graphiql

Sample query:

query {
  teams {
    id
    name
    points
  }
}

Sample mutation:

mutation {
  incrementPoints(id:2) {
    id
    name
    points
  }
}

🎉 Congrats!! You made it - built your very first GraphQL endpoint on Serverless! 🎉

You can’t perform that action at this time.